#A07F1A#A07F1A

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

Color values

HEX#A07F1A
RGBrgb(160, 127, 26)
HSLhsl(45, 72%, 36%)
HSVhsv(45, 84%, 63%)
CMYKcmyk(0%, 20.6%, 83.8%, 37.3%)
CIE-LABlab(54.79, 3.13, 54.53)
CIE-LCHlch(54.79, 54.62, 86.71°)
OKLaboklab(61.15% 0.0023 0.1171)
OKLCHoklch(61.15% 0.117 88.9)
XYZxyz(22.2744, 22.7284, 4.1909)
Luminance0.2273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A07F1A #1A3BA0
analogous
#A03C1A #A07F1A #7EA01A
triadic
#A07F1A #1AA07F #7F1AA0
tetradic
#A07F1A #1AA03C #1A3BA0 #A01A7E
square
#A07F1A #1AA03C #1A3BA0 #A01A7E
split-complementary
#A07F1A #1A7EA0 #3C1AA0
monochromatic
#372B09 #6B5511 #A07F1A #D5A923 #E3BF52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A07F1A#FFFFFF#000000##000000
##A07F1A1.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: #a07f1a;
/* rgb */ color: rgb(160, 127, 26);
/* oklch */ color: oklch(61.1% 0.117 88.9);
Tailwind
colors: {
  custom: {
    50: '#c1a361',
    500: '#a07f1a',
    950: '#000000',
  },
}
SCSS
$custom: #a07f1a;
$custom-light: #c1a361;
$custom-dark: #000000;
JSON
{
  "hex": "#a07f1a",
  "rgb": {
    "r": 160,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 45.224,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61146,
    "c": 0.11714,
    "h": 88.9
  },
  "luminance": 0.22727
}

Semantic roles & 50–950 ramp

primary
#A07F1A
secondary
#506DC5
accent
#66EF39
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #A07F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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