#A07F17#A07F17

#A07F17 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#A07F17
RGBrgb(160, 127, 23)
HSLhsl(46, 75%, 36%)
HSVhsv(46, 86%, 63%)
CMYKcmyk(0%, 20.6%, 85.6%, 37.3%)
CIE-LABlab(54.78, 3.04, 55.42)
CIE-LCHlch(54.78, 55.50, 86.86°)
OKLaboklab(61.13% 0.0018 0.1184)
OKLCHoklch(61.13% 0.118 89.1)
XYZxyz(22.2427, 22.7157, 4.0235)
Luminance0.2271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A07F17 #1738A0
analogous
#A03A17 #A07F17 #7CA017
triadic
#A07F17 #17A07F #7F17A0
tetradic
#A07F17 #17A03A #1738A0 #A0177C
square
#A07F17 #17A03A #1738A0 #A0177C
split-complementary
#A07F17 #177CA0 #3A17A0
monochromatic
#352A08 #6A550F #A07F17 #D6A91F #E5C04C

Accessibility & contrast

On white

3.79
#A07F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#A07F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A07F17
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A07F17#FFFFFF#000000##000000
##A07F171.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#97871E
Tritanopia (blue-blind)
#AE736C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a07f17;
/* rgb */ color: rgb(160, 127, 23);
/* oklch */ color: oklch(61.1% 0.118 89.1);
Tailwind
colors: {
  custom: {
    50: '#c1a360',
    500: '#a07f17',
    950: '#000000',
  },
}
SCSS
$custom: #a07f17;
$custom-light: #c1a360;
$custom-dark: #000000;
JSON
{
  "hex": "#a07f17",
  "rgb": {
    "r": 160,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 45.547,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61132,
    "c": 0.11841,
    "h": 89.1
  },
  "luminance": 0.22714
}

Semantic roles & 50–950 ramp

primary
#A07F17
secondary
#4C69C7
accent
#63F136
background
#FCFAF5
surface
#F8F3EA
border
#D1CDC6
text
#130F05
muted
#827F79

Preview Lab

Preview with #A07F17

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#A07F17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva