#638E2A#638E2A
#638E2A is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.5% C 0.137 H 129.9°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #638E2A |
|---|---|
| RGB | rgb(99, 142, 42) |
| HSL | hsl(86, 54%, 36%) |
| HSV | hsv(86, 70%, 56%) |
| CMYK | cmyk(30.3%, 0%, 70.4%, 44.3%) |
| CIE-LAB | lab(54.20, -30.98, 46.37) |
| CIE-LCH | lch(54.20, 55.77, 123.75°) |
| OKLab | oklab(59.47% -0.0878 0.105) |
| OKLCH | oklch(59.47% 0.137 129.9) |
| XYZ | xyz(15.2364, 22.1654, 5.6656) |
| Luminance | 0.2217 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 1.10
Olivedrab
#6B8E23
ΔE00 2.18
Sap Green
#5C8B15
ΔE00 2.26
Moss Green (survey)
#658B38
ΔE00 2.47
Avocado
#568203
ΔE00 5.15
Swamp
#698339
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#638E2A #552A8E
analogous
#8E872A #638E2A #318E2A
triadic
#638E2A #2A638E #8E2A63
tetradic
#638E2A #2A8E87 #552A8E #8E2A31
square
#638E2A #2A8E87 #552A8E #8E2A31
split-complementary
#638E2A #2A318E #872A8E
monochromatic
#21300E #425F1C #638E2A #84BD38 #A1D162
Accessibility & contrast
On white
3.87
#638E2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#638E2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #638E2A
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##638E2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##638E2A | 1.00 | 3.87 | 5.43 | 5.43 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95841B
Deuteranopia (green-blind)
#8F8133
Tritanopia (blue-blind)
#66887A
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #638e2a; /* rgb */ color: rgb(99, 142, 42); /* oklch */ color: oklch(59.5% 0.137 129.9);
Tailwind
colors: {
custom: {
50: '#93af6a',
500: '#638e2a',
950: '#000000',
},
}SCSS
$custom: #638e2a; $custom-light: #93af6a; $custom-dark: #000000;
JSON
{
"hex": "#638e2a",
"rgb": {
"r": 99,
"g": 142,
"b": 42
},
"hsl": {
"h": 85.8,
"s": 54.348,
"l": 36.078
},
"oklch": {
"l": 0.5947,
"c": 0.13689,
"h": 129.9
},
"luminance": 0.22166
}Semantic roles & 50–950 ramp
primary
#638E2A
secondary
#845DB6
accent
#4ADE8A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A