#62831B#62831B
#62831B is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.5% C 0.132 H 126.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #62831B |
|---|---|
| RGB | rgb(98, 131, 27) |
| HSL | hsl(79, 66%, 31%) |
| HSV | hsv(79, 79%, 51%) |
| CMYK | cmyk(25.2%, 0%, 79.4%, 48.6%) |
| CIE-LAB | lab(50.58, -27.07, 48.40) |
| CIE-LCH | lch(50.58, 55.46, 119.21°) |
| OKLab | oklab(56.48% -0.0783 0.1069) |
| OKLCH | oklch(56.48% 0.132 126.2) |
| XYZ | xyz(13.3512, 18.9082, 3.9829) |
| Luminance | 0.1891 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.43
Mossy Green
#638B27
ΔE00 3.13
Dirty Green
#667E2C
ΔE00 3.16
Sap Green
#5C8B15
ΔE00 3.34
Olivedrab
#6B8E23
ΔE00 4.03
Swamp
#698339
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#62831B #3C1B83
analogous
#83701B #62831B #2E831B
triadic
#62831B #1B6283 #831B62
tetradic
#62831B #1B8370 #3C1B83 #831B2E
square
#62831B #1B8370 #3C1B83 #831B2E
split-complementary
#62831B #1B2E83 #701B83
monochromatic
#161E06 #3C5011 #62831B #88B625 #A8D841
Accessibility & contrast
On white
4.39
#62831B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#62831B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #62831B
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##62831B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##62831B | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#667C70
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #62831b; /* rgb */ color: rgb(98, 131, 27); /* oklch */ color: oklch(56.5% 0.132 126.2);
Tailwind
colors: {
custom: {
50: '#92a761',
500: '#62831b',
950: '#000000',
},
}SCSS
$custom: #62831b; $custom-light: #92a761; $custom-dark: #000000;
JSON
{
"hex": "#62831b",
"rgb": {
"r": 98,
"g": 131,
"b": 27
},
"hsl": {
"h": 79.038,
"s": 65.823,
"l": 30.98
},
"oklch": {
"l": 0.5648,
"c": 0.13249,
"h": 126.2
},
"luminance": 0.18908
}Semantic roles & 50–950 ramp
primary
#62831B
secondary
#6843B6
accent
#3FE975
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F05
muted
#7E7F7A