#A08C1F#A08C1F
#A08C1F is a light, vivid yellow. Relative luminance 0.263; OKLCH L 64.0% C 0.123 H 98.0°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #A08C1F |
|---|---|
| RGB | rgb(160, 140, 31) |
| HSL | hsl(51, 68%, 37%) |
| HSV | hsv(51, 81%, 63%) |
| CMYK | cmyk(0%, 12.5%, 80.6%, 37.3%) |
| CIE-LAB | lab(58.35, -3.90, 56.06) |
| CIE-LCH | lch(58.35, 56.19, 93.98°) |
| OKLab | oklab(63.96% -0.0172 0.1215) |
| OKLCH | oklch(63.96% 0.123 98) |
| XYZ | xyz(24.1239, 26.3300, 5.1076) |
| Luminance | 0.2633 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 3.28
Dark Mustard
#A88905
ΔE00 3.54
Baby Shit Brown
#AD900D
ΔE00 3.56
Diarrhea
#9F8303
ΔE00 3.72
Yellowy Brown
#AE8B0C
ΔE00 4.63
Brown Yellow
#B29705
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A08C1F #1F33A0
analogous
#A04C1F #A08C1F #73A01F
triadic
#A08C1F #1FA08C #8C1FA0
tetradic
#A08C1F #1FA04C #1F33A0 #A01F73
square
#A08C1F #1FA04C #1F33A0 #A01F73
split-complementary
#A08C1F #1F73A0 #4C1FA0
monochromatic
#39320B #6D5F15 #A08C1F #D3B929 #DFCB5A
Accessibility & contrast
On white
3.35
#A08C1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.27
#A08C1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A08C1F
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A08C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A08C1F | 1.00 | 3.35 | 6.27 | 6.27 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8801
Deuteranopia (green-blind)
#A08F27
Tritanopia (blue-blind)
#AD8178
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #a08c1f; /* rgb */ color: rgb(160, 140, 31); /* oklch */ color: oklch(64.0% 0.123 98.0);
Tailwind
colors: {
custom: {
50: '#c0ad65',
500: '#a08c1f',
950: '#000000',
},
}SCSS
$custom: #a08c1f; $custom-light: #c0ad65; $custom-dark: #000000;
JSON
{
"hex": "#a08c1f",
"rgb": {
"r": 160,
"g": 140,
"b": 31
},
"hsl": {
"h": 50.698,
"s": 67.539,
"l": 37.451
},
"oklch": {
"l": 0.63964,
"c": 0.12272,
"h": 98
},
"luminance": 0.26329
}Semantic roles & 50–950 ramp
primary
#A08C1F
secondary
#5868C3
accent
#58EA3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A