#62811F#62811F
#62811F is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 56.0% C 0.128 H 125.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #62811F |
|---|---|
| RGB | rgb(98, 129, 31) |
| HSL | hsl(79, 61%, 31%) |
| HSV | hsv(79, 76%, 51%) |
| CMYK | cmyk(24%, 0%, 76%, 49.4%) |
| CIE-LAB | lab(49.97, -25.86, 46.41) |
| CIE-LCH | lch(49.97, 53.13, 119.13°) |
| OKLab | oklab(56% -0.0747 0.1034) |
| OKLCH | oklch(56% 0.128 125.9) |
| XYZ | xyz(13.1347, 18.3959, 4.1548) |
| Luminance | 0.1840 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 2.33
Avocado
#568203
ΔE00 2.80
Mossy Green
#638B27
ΔE00 3.72
Swamp
#698339
ΔE00 3.73
Sap Green
#5C8B15
ΔE00 4.12
Olive Green
#677A04
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#62811F #3E1F81
analogous
#816F1F #62811F #31811F
triadic
#62811F #1F6281 #811F62
tetradic
#62811F #1F816F #3E1F81 #811F31
square
#62811F #1F816F #3E1F81 #811F31
split-complementary
#62811F #1F3181 #6F1F81
monochromatic
#171E07 #3D5013 #62811F #87B22B #A7D347
Accessibility & contrast
On white
4.49
#62811F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#62811F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #62811F
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##62811F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##62811F | 1.00 | 4.49 | 4.68 | 4.68 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88780B
Deuteranopia (green-blind)
#847628
Tritanopia (blue-blind)
#667B6E
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #62811f; /* rgb */ color: rgb(98, 129, 31); /* oklch */ color: oklch(56.0% 0.128 125.9);
Tailwind
colors: {
custom: {
50: '#92a562',
500: '#62811f',
950: '#000000',
},
}SCSS
$custom: #62811f; $custom-light: #92a562; $custom-dark: #000000;
JSON
{
"hex": "#62811f",
"rgb": {
"r": 98,
"g": 129,
"b": 31
},
"hsl": {
"h": 78.98,
"s": 61.25,
"l": 31.373
},
"oklch": {
"l": 0.55995,
"c": 0.12754,
"h": 125.9
},
"luminance": 0.18396
}Semantic roles & 50–950 ramp
primary
#62811F
secondary
#6A48B4
accent
#43E476
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A