#62841F#62841F
#62841F is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.8% C 0.131 H 126.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #62841F |
|---|---|
| RGB | rgb(98, 132, 31) |
| HSL | hsl(80, 62%, 32%) |
| HSV | hsv(80, 77%, 52%) |
| CMYK | cmyk(25.8%, 0%, 76.5%, 48.2%) |
| CIE-LAB | lab(50.92, -27.33, 47.33) |
| CIE-LCH | lch(50.92, 54.65, 120.01°) |
| OKLab | oklab(56.76% -0.0787 0.1053) |
| OKLCH | oklch(56.76% 0.131 126.8) |
| XYZ | xyz(13.5356, 19.1979, 4.2885) |
| Luminance | 0.1920 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.62
Mossy Green
#638B27
ΔE00 2.63
Sap Green
#5C8B15
ΔE00 3.05
Dirty Green
#667E2C
ΔE00 3.18
Olivedrab
#6B8E23
ΔE00 3.73
Swamp
#698339
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#62841F #411F84
analogous
#84741F #62841F #30841F
triadic
#62841F #1F6284 #841F62
tetradic
#62841F #1F8474 #411F84 #841F30
square
#62841F #1F8474 #411F84 #841F30
split-complementary
#62841F #1F3084 #741F84
monochromatic
#182108 #3D5213 #62841F #87B62B #A5D449
Accessibility & contrast
On white
4.34
#62841F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#62841F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #62841F
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##62841F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##62841F | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B09
Deuteranopia (green-blind)
#867929
Tritanopia (blue-blind)
#667E71
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #62841f; /* rgb */ color: rgb(98, 132, 31); /* oklch */ color: oklch(56.8% 0.131 126.8);
Tailwind
colors: {
custom: {
50: '#92a863',
500: '#62841f',
950: '#000000',
},
}SCSS
$custom: #62841f; $custom-light: #92a863; $custom-dark: #000000;
JSON
{
"hex": "#62841f",
"rgb": {
"r": 98,
"g": 132,
"b": 31
},
"hsl": {
"h": 80.198,
"s": 61.963,
"l": 31.961
},
"oklch": {
"l": 0.56762,
"c": 0.13146,
"h": 126.8
},
"luminance": 0.19198
}Semantic roles & 50–950 ramp
primary
#62841F
secondary
#6D48B7
accent
#43E579
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F06
muted
#7E7F7A