#A07F1B#A07F1B

#A07F1B is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 61.2% C 0.117 H 88.8°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#A07F1B
RGBrgb(160, 127, 27)
HSLhsl(45, 71%, 37%)
HSVhsv(45, 83%, 63%)
CMYKcmyk(0%, 20.6%, 83.1%, 37.3%)
CIE-LABlab(54.80, 3.16, 54.22)
CIE-LCHlch(54.80, 54.31, 86.66°)
OKLaboklab(61.15% 0.0025 0.1167)
OKLCHoklch(61.15% 0.117 88.8)
XYZxyz(22.2858, 22.7330, 4.2508)
Luminance0.2273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A07F1B #1B3CA0
analogous
#A03D1B #A07F1B #7FA01B
triadic
#A07F1B #1BA07F #7F1BA0
tetradic
#A07F1B #1BA03D #1B3CA0 #A01B7F
square
#A07F1B #1BA03D #1B3CA0 #A01B7F
split-complementary
#A07F1B #1B7FA0 #3D1BA0
monochromatic
#372C09 #6C5512 #A07F1B #D4A924 #E2BF53

Accessibility & contrast

On white

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

On black

5.55
#A07F1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A07F1B
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A07F1B#FFFFFF#000000##000000
##A07F1B1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#978721
Tritanopia (blue-blind)
#AE736D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a07f1b;
/* rgb */ color: rgb(160, 127, 27);
/* oklch */ color: oklch(61.2% 0.117 88.8);
Tailwind
colors: {
  custom: {
    50: '#c1a362',
    500: '#a07f1b',
    950: '#000000',
  },
}
SCSS
$custom: #a07f1b;
$custom-light: #c1a362;
$custom-dark: #000000;
JSON
{
  "hex": "#a07f1b",
  "rgb": {
    "r": 160,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 45.113,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61151,
    "c": 0.11669,
    "h": 88.8
  },
  "luminance": 0.22731
}

Semantic roles & 50–950 ramp

primary
#A07F1B
secondary
#526EC5
accent
#67EE3A
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #A07F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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