#638218#638218
#638218 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.3% C 0.132 H 125.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #638218 |
|---|---|
| RGB | rgb(99, 130, 24) |
| HSL | hsl(78, 69%, 30%) |
| HSV | hsv(78, 82%, 51%) |
| CMYK | cmyk(23.8%, 0%, 81.5%, 49%) |
| CIE-LAB | lab(50.32, -26.30, 49.15) |
| CIE-LCH | lch(50.32, 55.75, 118.15°) |
| OKLab | oklab(56.28% -0.0765 0.1079) |
| OKLCH | oklch(56.28% 0.132 125.3) |
| XYZ | xyz(13.2932, 18.6837, 3.7699) |
| Luminance | 0.1868 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.59
Dirty Green
#667E2C
ΔE00 3.11
Mossy Green
#638B27
ΔE00 3.66
Sap Green
#5C8B15
ΔE00 3.80
Olive Green
#677A04
ΔE00 3.95
Olivedrab
#6B8E23
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#638218 #371882
analogous
#826C18 #638218 #2E8218
triadic
#638218 #186382 #821863
tetradic
#638218 #18826C #371882 #82182E
square
#638218 #18826C #371882 #82182E
split-complementary
#638218 #182E82 #6C1882
monochromatic
#141B05 #3C4E0E #638218 #8AB622 #ACDB3A
Accessibility & contrast
On white
4.43
#638218 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#638218 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #638218
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##638218 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##638218 | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#857723
Tritanopia (blue-blind)
#687B6F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #638218; /* rgb */ color: rgb(99, 130, 24); /* oklch */ color: oklch(56.3% 0.132 125.3);
Tailwind
colors: {
custom: {
50: '#93a65f',
500: '#638218',
950: '#000000',
},
}SCSS
$custom: #638218; $custom-light: #93a65f; $custom-dark: #000000;
JSON
{
"hex": "#638218",
"rgb": {
"r": 99,
"g": 130,
"b": 24
},
"hsl": {
"h": 77.547,
"s": 68.831,
"l": 30.196
},
"oklch": {
"l": 0.56278,
"c": 0.13228,
"h": 125.3
},
"luminance": 0.18684
}Semantic roles & 50–950 ramp
primary
#638218
secondary
#6240B6
accent
#3CEC6F
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79