#638D2F#638D2F
#638D2F is a mid, vivid yellow-green. Relative luminance 0.219; OKLCH L 59.3% C 0.132 H 130.2°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #638D2F |
|---|---|
| RGB | rgb(99, 141, 47) |
| HSL | hsl(87, 50%, 37%) |
| HSV | hsv(87, 67%, 55%) |
| CMYK | cmyk(29.8%, 0%, 66.7%, 44.7%) |
| CIE-LAB | lab(53.93, -30.12, 43.97) |
| CIE-LCH | lch(53.93, 53.29, 124.41°) |
| OKLab | oklab(59.26% -0.085 0.1007) |
| OKLCH | oklch(59.26% 0.132 130.2) |
| XYZ | xyz(15.1834, 21.9072, 6.1173) |
| Luminance | 0.2191 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 1.26
Moss Green (survey)
#658B38
ΔE00 1.66
Olivedrab
#6B8E23
ΔE00 2.73
Sap Green
#5C8B15
ΔE00 2.78
Swamp
#698339
ΔE00 4.58
Khaki Green
#728639
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#638D2F #592F8D
analogous
#8D882F #638D2F #348D2F
triadic
#638D2F #2F638D #8D2F63
tetradic
#638D2F #2F8D88 #592F8D #8D2F34
square
#638D2F #2F8D88 #592F8D #8D2F34
split-complementary
#638D2F #2F348D #882F8D
monochromatic
#233110 #435F20 #638D2F #83BB3E #A1CD69
Accessibility & contrast
On white
3.90
#638D2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.38
#638D2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #638D2F
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##638D2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##638D2F | 1.00 | 3.90 | 5.38 | 5.38 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938323
Deuteranopia (green-blind)
#8E8036
Tritanopia (blue-blind)
#65877A
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #638d2f; /* rgb */ color: rgb(99, 141, 47); /* oklch */ color: oklch(59.3% 0.132 130.2);
Tailwind
colors: {
custom: {
50: '#93ae6c',
500: '#638d2f',
950: '#000000',
},
}SCSS
$custom: #638d2f; $custom-light: #93ae6c; $custom-dark: #000000;
JSON
{
"hex": "#638d2f",
"rgb": {
"r": 99,
"g": 141,
"b": 47
},
"hsl": {
"h": 86.809,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.5926,
"c": 0.13175,
"h": 130.2
},
"luminance": 0.21908
}Semantic roles & 50–950 ramp
primary
#638D2F
secondary
#8864B4
accent
#4EDA8C
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A