#638E2B#638E2B
#638E2B is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.5% C 0.136 H 130.0°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #638E2B |
|---|---|
| RGB | rgb(99, 142, 43) |
| HSL | hsl(86, 54%, 36%) |
| HSV | hsv(86, 70%, 56%) |
| CMYK | cmyk(30.3%, 0%, 69.7%, 44.3%) |
| CIE-LAB | lab(54.21, -30.91, 45.97) |
| CIE-LCH | lch(54.21, 55.39, 123.92°) |
| OKLab | oklab(59.48% -0.0875 0.1043) |
| OKLCH | oklch(59.48% 0.136 130) |
| XYZ | xyz(15.2545, 22.1726, 5.7611) |
| Luminance | 0.2217 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 1.15
Olivedrab
#6B8E23
ΔE00 2.27
Moss Green (survey)
#658B38
ΔE00 2.35
Sap Green
#5C8B15
ΔE00 2.36
Swamp
#698339
ΔE00 5.13
Khaki Green
#728639
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#638E2B #562B8E
analogous
#8E882B #638E2B #318E2B
triadic
#638E2B #2B638E #8E2B63
tetradic
#638E2B #2B8E88 #562B8E #8E2B31
square
#638E2B #2B8E88 #562B8E #8E2B31
split-complementary
#638E2B #2B318E #882B8E
monochromatic
#22300F #425F1D #638E2B #84BD39 #A1D063
Accessibility & contrast
On white
3.86
#638E2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#638E2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #638E2B
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##638E2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##638E2B | 1.00 | 3.86 | 5.43 | 5.43 |
| #FFFFFF | 3.86 | 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)
#95841C
Deuteranopia (green-blind)
#8F8133
Tritanopia (blue-blind)
#66887A
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #638e2b; /* rgb */ color: rgb(99, 142, 43); /* oklch */ color: oklch(59.5% 0.136 130.0);
Tailwind
colors: {
custom: {
50: '#93af6a',
500: '#638e2b',
950: '#000000',
},
}SCSS
$custom: #638e2b; $custom-light: #93af6a; $custom-dark: #000000;
JSON
{
"hex": "#638e2b",
"rgb": {
"r": 99,
"g": 142,
"b": 43
},
"hsl": {
"h": 86.061,
"s": 53.514,
"l": 36.275
},
"oklch": {
"l": 0.59478,
"c": 0.13616,
"h": 130
},
"luminance": 0.22173
}Semantic roles & 50–950 ramp
primary
#638E2B
secondary
#855FB6
accent
#4BDD8A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A