#A07F18#A07F18
#A07F18 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 61.1% C 0.118 H 89.1°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #A07F18 |
|---|---|
| RGB | rgb(160, 127, 24) |
| HSL | hsl(45, 74%, 36%) |
| HSV | hsv(45, 85%, 63%) |
| CMYK | cmyk(0%, 20.6%, 85%, 37.3%) |
| CIE-LAB | lab(54.78, 3.07, 55.13) |
| CIE-LCH | lch(54.78, 55.21, 86.81°) |
| OKLab | oklab(61.14% 0.002 0.118) |
| OKLCH | oklch(61.14% 0.118 89.1) |
| XYZ | xyz(22.2529, 22.7198, 4.0773) |
| Luminance | 0.2272 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.10
Diarrhea
#9F8303
ΔE00 2.69
Puke Brown
#947706
ΔE00 3.58
Mustard Brown
#AC7E04
ΔE00 3.89
Baby Poop
#937C00
ΔE00 3.97
Dark Mustard
#A88905
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A07F18 #1839A0
analogous
#A03B18 #A07F18 #7DA018
triadic
#A07F18 #18A07F #7F18A0
tetradic
#A07F18 #18A03B #1839A0 #A0187D
square
#A07F18 #18A03B #1839A0 #A0187D
split-complementary
#A07F18 #187DA0 #3B18A0
monochromatic
#362B08 #6B5510 #A07F18 #D5A920 #E4C04E
Accessibility & contrast
On white
3.79
#A07F18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#A07F18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A07F18
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A07F18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A07F18 | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#97871F
Tritanopia (blue-blind)
#AE736C
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #a07f18; /* rgb */ color: rgb(160, 127, 24); /* oklch */ color: oklch(61.1% 0.118 89.1);
Tailwind
colors: {
custom: {
50: '#c1a360',
500: '#a07f18',
950: '#000000',
},
}SCSS
$custom: #a07f18; $custom-light: #c1a360; $custom-dark: #000000;
JSON
{
"hex": "#a07f18",
"rgb": {
"r": 160,
"g": 127,
"b": 24
},
"hsl": {
"h": 45.441,
"s": 73.913,
"l": 36.078
},
"oklch": {
"l": 0.61136,
"c": 0.118,
"h": 89.1
},
"luminance": 0.22718
}Semantic roles & 50–950 ramp
primary
#A07F18
secondary
#4D6BC6
accent
#64F137
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F05
muted
#827F7A