#638D2E#638D2E
#638D2E is a mid, vivid yellow-green. Relative luminance 0.219; OKLCH L 59.3% C 0.133 H 130.1°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #638D2E |
|---|---|
| RGB | rgb(99, 141, 46) |
| HSL | hsl(87, 51%, 37%) |
| HSV | hsv(87, 67%, 55%) |
| CMYK | cmyk(29.8%, 0%, 67.4%, 44.7%) |
| CIE-LAB | lab(53.92, -30.20, 44.39) |
| CIE-LCH | lch(53.92, 53.69, 124.23°) |
| OKLab | oklab(59.25% -0.0853 0.1014) |
| OKLCH | oklch(59.25% 0.133 130.1) |
| XYZ | xyz(15.1635, 21.8992, 6.0123) |
| Luminance | 0.2190 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 1.14
Moss Green (survey)
#658B38
ΔE00 1.79
Olivedrab
#6B8E23
ΔE00 2.61
Sap Green
#5C8B15
ΔE00 2.65
Swamp
#698339
ΔE00 4.63
Khaki Green
#728639
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#638D2E #582E8D
analogous
#8D882E #638D2E #348D2E
triadic
#638D2E #2E638D #8D2E63
tetradic
#638D2E #2E8D88 #582E8D #8D2E34
square
#638D2E #2E8D88 #582E8D #8D2E34
split-complementary
#638D2E #2E348D #882E8D
monochromatic
#223110 #435F1F #638D2E #83BB3D #A1CE68
Accessibility & contrast
On white
3.90
#638D2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.38
#638D2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #638D2E
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##638D2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##638D2E | 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)
#938321
Deuteranopia (green-blind)
#8E8036
Tritanopia (blue-blind)
#65877A
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #638d2e; /* rgb */ color: rgb(99, 141, 46); /* oklch */ color: oklch(59.3% 0.133 130.1);
Tailwind
colors: {
custom: {
50: '#93ae6c',
500: '#638d2e',
950: '#000000',
},
}SCSS
$custom: #638d2e; $custom-light: #93ae6c; $custom-dark: #000000;
JSON
{
"hex": "#638d2e",
"rgb": {
"r": 99,
"g": 141,
"b": 46
},
"hsl": {
"h": 86.526,
"s": 50.802,
"l": 36.667
},
"oklch": {
"l": 0.5925,
"c": 0.13253,
"h": 130.1
},
"luminance": 0.219
}Semantic roles & 50–950 ramp
primary
#638D2E
secondary
#8762B5
accent
#4EDA8C
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A