#808000

Olive

#808000Olive

Luminance

0.200

Category

Yellow

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#808000
No #
808000

RGB

RGB
rgb(128, 128, 0)
Values
R:128 G:128 B:0

HSL

HSL
hsl(60, 100%, 25%)
Values
H:60° S:100% L:25%

HSV / HSB

HSV
hsv(60, 100%, 50%)
Values
H:60° S:100% V:50%

CMYK

CMYK
cmyk(0%, 0%, 100%, 50%)
Values
C:0 M:0 Y:100 K:50

LAB

LAB
lab(52, -13, 57)
Values
L:52 a:-13 b:57

OKLCH

OKLCH
oklch(58.1% 0.127 109.8)
Values
L:58.1% C:0.127 H:109.8°

Code Formats

CSS
color: #808000;
Swift
UIColor(red: 0.502, green: 0.502, blue: 0.000, alpha: 1.0)
Kotlin
Color(0xFF808000)
Flutter
Color(0xFF808000)
Android
#FF808000

Contrast Analysis

WCAG compliance with grayscale colors

On White

4.20:1

AA-large

On Black

5.01:1

AA

Grayscale Contrast

Aa

0%

5.0

AA
Aa

10%

4.1

AA-large
Aa

20%

3.0

AA-large
Aa

30%

2.0

Fail
Aa

40%

1.4

Fail
Aa

50%

1.0

Fail
Aa

60%

1.5

Fail
Aa

70%

2.0

Fail
Aa

80%

2.6

Fail
Aa

90%

3.3

AA-large
Aa

100%

4.2

AA-large

Best Grayscale Contrast

#000000 with ratio 5.01:1

Aa

Color Harmonies

Harmonious color combinations

complementary

Two colors opposite on the color wheel (180°)

split-complementary

Base color + two colors adjacent to its complement

triadic

Three colors evenly spaced (120° apart)

tetradic

Four colors evenly spaced (90° apart)

analogous

Three colors adjacent on the color wheel (30° apart)

Color Variations

Tints, shades, tones, and full scale

Color Scale (50-900)

50

100

200

300

400

500

600

700

800

900

Tints (Lighter)

Shades (Darker)

Tones (Desaturated)

Gradients (OKLCH)

Primary

90°
CSS
linear-gradient(90deg, #E5E600 0%, #7F8000 100%)
OKLCH
linear-gradient(90deg, oklch(89.5% 0.195 110.1) 0%, oklch(58.0% 0.127 110.3) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #B2B300 0%, #CCCC00 100%)
OKLCH
linear-gradient(135deg, oklch(74.1% 0.162 110.2) 0%, oklch(81.8% 0.178 109.8) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #808000 0%, #000080 100%)
OKLCH
linear-gradient(90deg, oklch(58.1% 0.127 109.8) 0%, oklch(27.1% 0.188 264.1) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #804000 0%, #808000 50%, #408000 100%)
OKLCH
linear-gradient(90deg, oklch(44.4% 0.109 55.5) 0%, oklch(58.1% 0.127 109.8) 50%, oklch(53.6% 0.157 135.2) 100%)
Stops
0%
50%
100%

Sunset

90°
CSS
linear-gradient(90deg, #F6CE55 0%, #EE6C2B 50%, #E6193C 100%)
OKLCH
linear-gradient(90deg, oklch(86.4% 0.144 90.6) 0%, oklch(68.0% 0.177 43.8) 50%, oklch(59.1% 0.228 21.2) 100%)
Stops
0%
50%
100%

Ocean

135°
CSS
linear-gradient(135deg, #19A1E6 0%, #22C3B6 50%, #47D1A3 100%)
OKLCH
linear-gradient(135deg, oklch(67.5% 0.146 238.9) 0%, oklch(73.8% 0.124 186.2) 50%, oklch(77.5% 0.136 166.9) 100%)
Stops
0%
50%
100%

Dark Mode

180°
CSS
linear-gradient(180deg, #7F8000 0%, #343409 100%)
OKLCH
linear-gradient(180deg, oklch(58.0% 0.127 110.3) 0%, oklch(31.5% 0.061 109.4) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #CCCC00 0%, #999900 100%)
OKLCH
radial-gradient(circle, oklch(81.8% 0.178 109.8) 0%, oklch(66.1% 0.144 109.8) 100%)
Stops
0%
100%

💡 About OKLCH Gradients

OKLCH (Oklch Color Space) provides perceptually uniform gradients with better color transitions than traditional RGB/HSL gradients. The format is oklch(L% C H) where L = Lightness (0-100%), C = Chroma (0-0.4), H = Hue (0-360°).

Generate Full Palette

Create a complete brand palette from this color with primary, secondary, accent, and neutral scales.

View Palette