#9FAB38#9FAB38
#9FAB38 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.0% C 0.137 H 115.1°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #9FAB38 |
|---|---|
| RGB | rgb(159, 171, 56) |
| HSL | hsl(66, 51%, 45%) |
| HSV | hsv(66, 67%, 67%) |
| CMYK | cmyk(7%, 0%, 67.3%, 32.9%) |
| CIE-LAB | lab(67.11, -19.43, 55.28) |
| CIE-LCH | lch(67.11, 58.59, 109.37°) |
| OKLab | oklab(70.98% -0.0583 0.1245) |
| OKLCH | oklch(70.98% 0.137 115.1) |
| XYZ | xyz(29.5755, 36.7828, 9.2824) |
| Luminance | 0.3678 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 3.06
Puke Green
#9AAE07
ΔE00 3.57
Booger
#9BB53C
ΔE00 3.75
Barf Green
#94AC02
ΔE00 3.83
Icky Green
#8FAE22
ΔE00 4.12
Pea Green
#8EAB12
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FAB38 #4438AB
analogous
#AB7E38 #9FAB38 #66AB38
triadic
#9FAB38 #389FAB #AB389F
tetradic
#9FAB38 #38AB7E #4438AB #AB3866
square
#9FAB38 #38AB7E #4438AB #AB3866
split-complementary
#9FAB38 #3866AB #7E38AB
monochromatic
#494F1A #747D29 #9FAB38 #BDC858 #CFD786
Accessibility & contrast
On white
2.51
#9FAB38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.36
#9FAB38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FAB38
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FAB38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FAB38 | 1.00 | 2.51 | 8.36 | 8.36 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A327
Deuteranopia (green-blind)
#B6A440
Tritanopia (blue-blind)
#A9A194
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #9fab38; /* rgb */ color: rgb(159, 171, 56); /* oklch */ color: oklch(71.0% 0.137 115.1);
Tailwind
colors: {
custom: {
50: '#bec375',
500: '#9fab38',
950: '#000000',
},
}SCSS
$custom: #9fab38; $custom-light: #bec375; $custom-dark: #000000;
JSON
{
"hex": "#9fab38",
"rgb": {
"r": 159,
"g": 171,
"b": 56
},
"hsl": {
"h": 66.261,
"s": 50.661,
"l": 44.51
},
"oklch": {
"l": 0.70982,
"c": 0.13746,
"h": 115.1
},
"luminance": 0.36782
}Semantic roles & 50–950 ramp
primary
#9FAB38
secondary
#857DC1
accent
#4EDA5C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121209
muted
#81817B