#638E2E#638E2E
#638E2E is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.5% C 0.134 H 130.3°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #638E2E |
|---|---|
| RGB | rgb(99, 142, 46) |
| HSL | hsl(87, 51%, 37%) |
| HSV | hsv(87, 68%, 56%) |
| CMYK | cmyk(30.3%, 0%, 67.6%, 44.3%) |
| CIE-LAB | lab(54.23, -30.67, 44.73) |
| CIE-LCH | lch(54.23, 54.23, 124.44°) |
| OKLab | oklab(59.51% -0.0866 0.1021) |
| OKLCH | oklch(59.51% 0.134 130.3) |
| XYZ | xyz(15.3116, 22.1955, 6.0617) |
| Luminance | 0.2220 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 1.36
Moss Green (survey)
#658B38
ΔE00 2.01
Olivedrab
#6B8E23
ΔE00 2.59
Sap Green
#5C8B15
ΔE00 2.70
Swamp
#698339
ΔE00 4.96
Khaki Green
#728639
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#638E2E #592E8E
analogous
#8E892E #638E2E #338E2E
triadic
#638E2E #2E638E #8E2E63
tetradic
#638E2E #2E8E89 #592E8E #8E2E33
square
#638E2E #2E8E89 #592E8E #8E2E33
split-complementary
#638E2E #2E338E #892E8E
monochromatic
#233210 #43601F #638E2E #83BC3D #A1CE68
Accessibility & contrast
On white
3.86
#638E2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#638E2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #638E2E
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##638E2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##638E2E | 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)
#948421
Deuteranopia (green-blind)
#8E8136
Tritanopia (blue-blind)
#65887A
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #638e2e; /* rgb */ color: rgb(99, 142, 46); /* oklch */ color: oklch(59.5% 0.134 130.3);
Tailwind
colors: {
custom: {
50: '#93af6c',
500: '#638e2e',
950: '#000000',
},
}SCSS
$custom: #638e2e; $custom-light: #93af6c; $custom-dark: #000000;
JSON
{
"hex": "#638e2e",
"rgb": {
"r": 99,
"g": 142,
"b": 46
},
"hsl": {
"h": 86.875,
"s": 51.064,
"l": 36.863
},
"oklch": {
"l": 0.59506,
"c": 0.1339,
"h": 130.3
},
"luminance": 0.22196
}Semantic roles & 50–950 ramp
primary
#638E2E
secondary
#8863B5
accent
#4DDB8D
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A