#638E2F#638E2F
#638E2F is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.5% C 0.133 H 130.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #638E2F |
|---|---|
| RGB | rgb(99, 142, 47) |
| HSL | hsl(87, 50%, 37%) |
| HSV | hsv(87, 67%, 56%) |
| CMYK | cmyk(30.3%, 0%, 66.9%, 44.3%) |
| CIE-LAB | lab(54.24, -30.59, 44.30) |
| CIE-LCH | lch(54.24, 53.84, 124.62°) |
| OKLab | oklab(59.51% -0.0863 0.1014) |
| OKLCH | oklch(59.51% 0.133 130.4) |
| XYZ | xyz(15.3316, 22.2034, 6.1667) |
| Luminance | 0.2220 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 1.45
Moss Green (survey)
#658B38
ΔE00 1.89
Olivedrab
#6B8E23
ΔE00 2.71
Sap Green
#5C8B15
ΔE00 2.83
Swamp
#698339
ΔE00 4.90
Khaki Green
#728639
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#638E2F #5A2F8E
analogous
#8E8A2F #638E2F #338E2F
triadic
#638E2F #2F638E #8E2F63
tetradic
#638E2F #2F8E8A #5A2F8E #8E2F33
square
#638E2F #2F8E8A #5A2F8E #8E2F33
split-complementary
#638E2F #2F338E #8A2F8E
monochromatic
#233211 #436020 #638E2F #83BC3E #A0CE6A
Accessibility & contrast
On white
3.86
#638E2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#638E2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #638E2F
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##638E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##638E2F | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948423
Deuteranopia (green-blind)
#8E8137
Tritanopia (blue-blind)
#65887A
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #638e2f; /* rgb */ color: rgb(99, 142, 47); /* oklch */ color: oklch(59.5% 0.133 130.4);
Tailwind
colors: {
custom: {
50: '#93af6c',
500: '#638e2f',
950: '#000000',
},
}SCSS
$custom: #638e2f; $custom-light: #93af6c; $custom-dark: #000000;
JSON
{
"hex": "#638e2f",
"rgb": {
"r": 99,
"g": 142,
"b": 47
},
"hsl": {
"h": 87.158,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.59515,
"c": 0.13312,
"h": 130.4
},
"luminance": 0.22204
}Semantic roles & 50–950 ramp
primary
#638E2F
secondary
#8964B5
accent
#4EDA8D
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A