#638B2F#638B2F
#638B2F is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.8% C 0.129 H 129.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #638B2F |
|---|---|
| RGB | rgb(99, 139, 47) |
| HSL | hsl(86, 49%, 36%) |
| HSV | hsv(86, 66%, 55%) |
| CMYK | cmyk(28.8%, 0%, 66.2%, 45.5%) |
| CIE-LAB | lab(53.30, -29.16, 43.29) |
| CIE-LCH | lch(53.30, 52.20, 123.97°) |
| OKLab | oklab(58.75% -0.0824 0.0992) |
| OKLCH | oklch(58.75% 0.129 129.7) |
| XYZ | xyz(14.8912, 21.3227, 6.0199) |
| Luminance | 0.2132 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 1.13
Moss Green (survey)
#658B38
ΔE00 1.36
Sap Green
#5C8B15
ΔE00 2.83
Olivedrab
#6B8E23
ΔE00 2.90
Swamp
#698339
ΔE00 3.93
Khaki Green
#728639
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#638B2F #572F8B
analogous
#8B852F #638B2F #358B2F
triadic
#638B2F #2F638B #8B2F63
tetradic
#638B2F #2F8B85 #572F8B #8B2F35
square
#638B2F #2F8B85 #572F8B #8B2F35
split-complementary
#638B2F #2F358B #852F8B
monochromatic
#223010 #425D20 #638B2F #84B93E #A1CC68
Accessibility & contrast
On white
3.99
#638B2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#638B2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #638B2F
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##638B2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##638B2F | 1.00 | 3.99 | 5.26 | 5.26 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918123
Deuteranopia (green-blind)
#8C7E36
Tritanopia (blue-blind)
#668578
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #638b2f; /* rgb */ color: rgb(99, 139, 47); /* oklch */ color: oklch(58.8% 0.129 129.7);
Tailwind
colors: {
custom: {
50: '#92ad6c',
500: '#638b2f',
950: '#000000',
},
}SCSS
$custom: #638b2f; $custom-light: #92ad6c; $custom-dark: #000000;
JSON
{
"hex": "#638b2f",
"rgb": {
"r": 99,
"g": 139,
"b": 47
},
"hsl": {
"h": 86.087,
"s": 49.462,
"l": 36.471
},
"oklch": {
"l": 0.5875,
"c": 0.12898,
"h": 129.7
},
"luminance": 0.21323
}Semantic roles & 50–950 ramp
primary
#638B2F
secondary
#8663B3
accent
#4FD98B
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A