#638E2D#638E2D
#638E2D is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.5% C 0.135 H 130.2°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #638E2D |
|---|---|
| RGB | rgb(99, 142, 45) |
| HSL | hsl(87, 52%, 37%) |
| HSV | hsv(87, 68%, 56%) |
| CMYK | cmyk(30.3%, 0%, 68.3%, 44.3%) |
| CIE-LAB | lab(54.23, -30.75, 45.14) |
| CIE-LCH | lch(54.23, 54.62, 124.26°) |
| OKLab | oklab(59.5% -0.0869 0.1029) |
| OKLCH | oklch(59.5% 0.135 130.2) |
| XYZ | xyz(15.2921, 22.1877, 5.9591) |
| Luminance | 0.2219 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 1.28
Moss Green (survey)
#658B38
ΔE00 2.12
Olivedrab
#6B8E23
ΔE00 2.48
Sap Green
#5C8B15
ΔE00 2.59
Swamp
#698339
ΔE00 5.01
Khaki Green
#728639
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#638E2D #582D8E
analogous
#8E892D #638E2D #338E2D
triadic
#638E2D #2D638E #8E2D63
tetradic
#638E2D #2D8E89 #582D8E #8E2D33
square
#638E2D #2D8E89 #582D8E #8E2D33
split-complementary
#638E2D #2D338E #892D8E
monochromatic
#223110 #43601E #638E2D #83BC3C #A1CF67
Accessibility & contrast
On white
3.86
#638E2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#638E2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #638E2D
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##638E2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##638E2D | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958420
Deuteranopia (green-blind)
#8F8135
Tritanopia (blue-blind)
#65887A
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #638e2d; /* rgb */ color: rgb(99, 142, 45); /* oklch */ color: oklch(59.5% 0.135 130.2);
Tailwind
colors: {
custom: {
50: '#93af6b',
500: '#638e2d',
950: '#000000',
},
}SCSS
$custom: #638e2d; $custom-light: #93af6b; $custom-dark: #000000;
JSON
{
"hex": "#638e2d",
"rgb": {
"r": 99,
"g": 142,
"b": 45
},
"hsl": {
"h": 86.598,
"s": 51.872,
"l": 36.667
},
"oklch": {
"l": 0.59496,
"c": 0.13467,
"h": 130.2
},
"luminance": 0.22188
}Semantic roles & 50–950 ramp
primary
#638E2D
secondary
#8761B5
accent
#4CDB8C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A