#AB9627#AB9627
#AB9627 is a light, vivid yellow. Relative luminance 0.306; OKLCH L 67.3% C 0.126 H 97.9°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9627 |
|---|---|
| RGB | rgb(171, 150, 39) |
| HSL | hsl(50, 63%, 41%) |
| HSV | hsv(50, 77%, 67%) |
| CMYK | cmyk(0%, 12.3%, 77.2%, 32.9%) |
| CIE-LAB | lab(62.18, -4.04, 57.24) |
| CIE-LCH | lch(62.18, 57.38, 94.03°) |
| OKLab | oklab(67.27% -0.0174 0.1252) |
| OKLCH | oklch(67.27% 0.126 97.9) |
| XYZ | xyz(28.0686, 30.6186, 6.3506) |
| Luminance | 0.3062 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 2.81
Baby Poo
#AB9004
ΔE00 2.91
Baby Shit Brown
#AD900D
ΔE00 3.06
Dark Gold
#B59410
ΔE00 3.75
Yellow Brown
#B79400
ΔE00 4.47
Dark Mustard
#A88905
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9627 #273CAB
analogous
#AB5427 #AB9627 #7EAB27
triadic
#AB9627 #27AB96 #9627AB
tetradic
#AB9627 #27AB54 #273CAB #AB277E
square
#AB9627 #27AB54 #273CAB #AB277E
split-complementary
#AB9627 #277EAB #5427AB
monochromatic
#473F10 #796A1C #AB9627 #D3BB3D #DECC6E
Accessibility & contrast
On white
2.95
#AB9627 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.12
#AB9627 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB9627
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9627 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9627 | 1.00 | 2.95 | 7.12 | 7.12 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A69210
Deuteranopia (green-blind)
#AB992F
Tritanopia (blue-blind)
#B98A81
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #ab9627; /* rgb */ color: rgb(171, 150, 39); /* oklch */ color: oklch(67.3% 0.126 97.9);
Tailwind
colors: {
custom: {
50: '#c8b46a',
500: '#ab9627',
950: '#000000',
},
}SCSS
$custom: #ab9627; $custom-light: #c8b46a; $custom-dark: #000000;
JSON
{
"hex": "#ab9627",
"rgb": {
"r": 171,
"g": 150,
"b": 39
},
"hsl": {
"h": 50.455,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.67266,
"c": 0.12637,
"h": 97.9
},
"luminance": 0.30617
}Semantic roles & 50–950 ramp
primary
#AB9627
secondary
#6978C5
accent
#5CE642
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A