#9CA338#9CA338
#9CA338 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 68.9% C 0.129 H 112.9°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA338 |
|---|---|
| RGB | rgb(156, 163, 56) |
| HSL | hsl(64, 49%, 43%) |
| HSV | hsv(64, 66%, 64%) |
| CMYK | cmyk(4.3%, 0%, 65.6%, 36.1%) |
| CIE-LAB | lab(64.60, -16.64, 52.61) |
| CIE-LCH | lch(64.60, 55.18, 107.55°) |
| OKLab | oklab(68.91% -0.0503 0.119) |
| OKLCH | oklch(68.91% 0.129 112.9) |
| XYZ | xyz(27.5221, 33.5484, 8.7663) |
| Luminance | 0.3355 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 3.57
Vomit
#A2A415
ΔE00 3.78
Pea Soup
#929901
ΔE00 4.58
Baby Poop Green
#8F9805
ΔE00 4.70
Puke
#A5A502
ΔE00 4.86
Vomit Green
#89A203
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA338 #3F38A3
analogous
#A37438 #9CA338 #67A338
triadic
#9CA338 #389CA3 #A3389C
tetradic
#9CA338 #38A374 #3F38A3 #A33867
square
#9CA338 #38A374 #3F38A3 #A33867
split-complementary
#9CA338 #3867A3 #7438A3
monochromatic
#454819 #707528 #9CA338 #BDC454 #CED482
Accessibility & contrast
On white
2.72
#9CA338 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.71
#9CA338 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA338
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA338 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA338 | 1.00 | 2.72 | 7.71 | 7.71 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9B2A
Deuteranopia (green-blind)
#AF9E3F
Tritanopia (blue-blind)
#A6998D
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #9ca338; /* rgb */ color: rgb(156, 163, 56); /* oklch */ color: oklch(68.9% 0.129 112.9);
Tailwind
colors: {
custom: {
50: '#bcbe74',
500: '#9ca338',
950: '#000000',
},
}SCSS
$custom: #9ca338; $custom-light: #bcbe74; $custom-dark: #000000;
JSON
{
"hex": "#9ca338",
"rgb": {
"r": 156,
"g": 163,
"b": 56
},
"hsl": {
"h": 63.925,
"s": 48.858,
"l": 42.941
},
"oklch": {
"l": 0.68912,
"c": 0.12915,
"h": 112.9
},
"luminance": 0.33548
}Semantic roles & 50–950 ramp
primary
#9CA338
secondary
#7E79BD
accent
#4FD858
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121209
muted
#81817B