#62831C#62831C
#62831C is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.5% C 0.132 H 126.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #62831C |
|---|---|
| RGB | rgb(98, 131, 28) |
| HSL | hsl(79, 65%, 31%) |
| HSV | hsv(79, 79%, 51%) |
| CMYK | cmyk(25.2%, 0%, 78.6%, 48.6%) |
| CIE-LAB | lab(50.59, -27.01, 48.07) |
| CIE-LCH | lch(50.59, 55.14, 119.34°) |
| OKLab | oklab(56.49% -0.0781 0.1063) |
| OKLCH | oklch(56.49% 0.132 126.3) |
| XYZ | xyz(13.3630, 18.9129, 4.0449) |
| Luminance | 0.1891 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.47
Dirty Green
#667E2C
ΔE00 3.09
Mossy Green
#638B27
ΔE00 3.09
Sap Green
#5C8B15
ΔE00 3.34
Olivedrab
#6B8E23
ΔE00 4.03
Swamp
#698339
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#62831C #3D1C83
analogous
#83701C #62831C #2E831C
triadic
#62831C #1C6283 #831C62
tetradic
#62831C #1C8370 #3D1C83 #831C2E
square
#62831C #1C8370 #3D1C83 #831C2E
split-complementary
#62831C #1C2E83 #701C83
monochromatic
#171E06 #3C5111 #62831C #88B527 #A7D743
Accessibility & contrast
On white
4.39
#62831C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#62831C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #62831C
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##62831C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##62831C | 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)
#8A7A03
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#667D70
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #62831c; /* rgb */ color: rgb(98, 131, 28); /* oklch */ color: oklch(56.5% 0.132 126.3);
Tailwind
colors: {
custom: {
50: '#92a761',
500: '#62831c',
950: '#000000',
},
}SCSS
$custom: #62831c; $custom-light: #92a761; $custom-dark: #000000;
JSON
{
"hex": "#62831c",
"rgb": {
"r": 98,
"g": 131,
"b": 28
},
"hsl": {
"h": 79.223,
"s": 64.78,
"l": 31.176
},
"oklch": {
"l": 0.56486,
"c": 0.13193,
"h": 126.3
},
"luminance": 0.18913
}Semantic roles & 50–950 ramp
primary
#62831C
secondary
#6945B6
accent
#40E876
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F05
muted
#7E7F7A