#638312#638312
#638312 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.5% C 0.136 H 125.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #638312 |
|---|---|
| RGB | rgb(99, 131, 18) |
| HSL | hsl(77, 76%, 29%) |
| HSV | hsv(77, 86%, 51%) |
| CMYK | cmyk(24.4%, 0%, 86.3%, 48.6%) |
| CIE-LAB | lab(50.60, -27.04, 51.11) |
| CIE-LCH | lch(50.60, 57.83, 117.88°) |
| OKLab | oklab(56.5% -0.0789 0.1111) |
| OKLCH | oklch(56.5% 0.136 125.4) |
| XYZ | xyz(13.3712, 18.9287, 3.5213) |
| Luminance | 0.1893 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.50
Sap Green
#5C8B15
ΔE00 3.52
Mossy Green
#638B27
ΔE00 3.62
Dirty Green
#667E2C
ΔE00 3.75
Olive Green
#677A04
ΔE00 4.06
Olivedrab
#6B8E23
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#638312 #321283
analogous
#836B12 #638312 #2B8312
triadic
#638312 #126383 #831263
tetradic
#638312 #12836B #321283 #83122B
square
#638312 #12836B #321283 #83122B
split-complementary
#638312 #122B83 #6B1283
monochromatic
#141B04 #3A4D0B #638312 #8CB919 #AFE22D
Accessibility & contrast
On white
4.39
#638312 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#638312 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #638312
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##638312 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##638312 | 1.00 | 4.39 | 4.79 | 4.79 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#867820
Tritanopia (blue-blind)
#687C6F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #638312; /* rgb */ color: rgb(99, 131, 18); /* oklch */ color: oklch(56.5% 0.136 125.4);
Tailwind
colors: {
custom: {
50: '#93a75d',
500: '#638312',
950: '#000000',
},
}SCSS
$custom: #638312; $custom-light: #93a75d; $custom-dark: #000000;
JSON
{
"hex": "#638312",
"rgb": {
"r": 99,
"g": 131,
"b": 18
},
"hsl": {
"h": 76.991,
"s": 75.839,
"l": 29.216
},
"oklch": {
"l": 0.56503,
"c": 0.13626,
"h": 125.4
},
"luminance": 0.18929
}Semantic roles & 50–950 ramp
primary
#638312
secondary
#5D38B8
accent
#35F26B
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0D0F05
muted
#7E7F79