#9F9028#9F9028
#9F9028 is a light, vivid yellow. Relative luminance 0.275; OKLCH L 64.8% C 0.121 H 100.8°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9028 |
|---|---|
| RGB | rgb(159, 144, 40) |
| HSL | hsl(52, 60%, 39%) |
| HSV | hsv(52, 75%, 62%) |
| CMYK | cmyk(0%, 9.4%, 74.8%, 37.6%) |
| CIE-LAB | lab(59.41, -6.16, 53.86) |
| CIE-LCH | lch(59.41, 54.21, 96.52°) |
| OKLab | oklab(64.8% -0.0226 0.1187) |
| OKLCH | oklch(64.8% 0.121 100.8) |
| XYZ | xyz(24.6555, 27.4718, 6.0110) |
| Luminance | 0.2747 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.35
Baby Shit Brown
#AD900D
ΔE00 4.70
Dark Mustard
#A88905
ΔE00 5.32
Brown Yellow
#B29705
ΔE00 5.40
Diarrhea
#9F8303
ΔE00 5.62
Dark Gold
#B59410
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9028 #28379F
analogous
#9F5528 #9F9028 #739F28
triadic
#9F9028 #289F90 #90289F
tetradic
#9F9028 #289F55 #28379F #9F2873
square
#9F9028 #289F55 #28379F #9F2873
split-complementary
#9F9028 #28739F #55289F
monochromatic
#3D370F #6E641C #9F9028 #CDBA37 #D9CB68
Accessibility & contrast
On white
3.23
#9F9028 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.49
#9F9028 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F9028
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9028 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9028 | 1.00 | 3.23 | 6.49 | 6.49 |
| #FFFFFF | 3.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E8C15
Deuteranopia (green-blind)
#A2922F
Tritanopia (blue-blind)
#AC857C
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #9f9028; /* rgb */ color: rgb(159, 144, 40); /* oklch */ color: oklch(64.8% 0.121 100.8);
Tailwind
colors: {
custom: {
50: '#bfb06a',
500: '#9f9028',
950: '#000000',
},
}SCSS
$custom: #9f9028; $custom-light: #bfb06a; $custom-dark: #000000;
JSON
{
"hex": "#9f9028",
"rgb": {
"r": 159,
"g": 144,
"b": 40
},
"hsl": {
"h": 52.437,
"s": 59.799,
"l": 39.02
},
"oklch": {
"l": 0.64798,
"c": 0.12084,
"h": 100.8
},
"luminance": 0.27471
}Semantic roles & 50–950 ramp
primary
#9F9028
secondary
#646FBF
accent
#59E345
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A