#9CA628#9CA628
#9CA628 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.5% C 0.143 H 114.2°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA628 |
|---|---|
| RGB | rgb(156, 166, 40) |
| HSL | hsl(65, 61%, 40%) |
| HSV | hsv(65, 76%, 65%) |
| CMYK | cmyk(6%, 0%, 75.9%, 34.9%) |
| CIE-LAB | lab(65.35, -19.04, 59.37) |
| CIE-LCH | lch(65.35, 62.35, 107.78°) |
| OKLab | oklab(69.48% -0.0585 0.1305) |
| OKLCH | oklch(69.48% 0.143 114.2) |
| XYZ | xyz(27.7304, 34.4941, 7.2043) |
| Luminance | 0.3449 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.98
Vomit
#A2A415
ΔE00 2.65
Puke Green
#9AAE07
ΔE00 3.32
Barf Green
#94AC02
ΔE00 3.50
Puke
#A5A502
ΔE00 3.66
Vomit Green
#89A203
ΔE00 3.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA628 #3228A6
analogous
#A67128 #9CA628 #5DA628
triadic
#9CA628 #289CA6 #A6289C
tetradic
#9CA628 #28A671 #3228A6 #A6285D
square
#9CA628 #28A671 #3228A6 #A6285D
split-complementary
#9CA628 #285DA6 #7128A6
monochromatic
#3F4310 #6E751C #9CA628 #C4D03B #D3DC6D
Accessibility & contrast
On white
2.66
#9CA628 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.90
#9CA628 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA628
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA628 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA628 | 1.00 | 2.66 | 7.90 | 7.90 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29E09
Deuteranopia (green-blind)
#B2A033
Tritanopia (blue-blind)
#A79C8E
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #9ca628; /* rgb */ color: rgb(156, 166, 40); /* oklch */ color: oklch(69.5% 0.143 114.2);
Tailwind
colors: {
custom: {
50: '#bdc06c',
500: '#9ca628',
950: '#000000',
},
}SCSS
$custom: #9ca628; $custom-light: #bdc06c; $custom-dark: #000000;
JSON
{
"hex": "#9ca628",
"rgb": {
"r": 156,
"g": 166,
"b": 40
},
"hsl": {
"h": 64.762,
"s": 61.165,
"l": 40.392
},
"oklch": {
"l": 0.6948,
"c": 0.14301,
"h": 114.2
},
"luminance": 0.34494
}Semantic roles & 50–950 ramp
primary
#9CA628
secondary
#6F67C2
accent
#44E450
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A