#A08B1F#A08B1F

#A08B1F is a light, vivid yellow. Relative luminance 0.260; OKLCH L 63.7% C 0.122 H 97.4°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A08B1F
RGBrgb(160, 139, 31)
HSLhsl(50, 68%, 37%)
HSVhsv(50, 81%, 63%)
CMYKcmyk(0%, 13.1%, 80.6%, 37.3%)
CIE-LABlab(58.07, -3.35, 55.81)
CIE-LCHlch(58.07, 55.91, 93.43°)
OKLaboklab(63.75% -0.0156 0.121)
OKLCHoklch(63.75% 0.122 97.4)
XYZxyz(23.9784, 26.0390, 5.0591)
Luminance0.2604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A08B1F #1F34A0
analogous
#A04B1F #A08B1F #74A01F
triadic
#A08B1F #1FA08B #8B1FA0
tetradic
#A08B1F #1FA04B #1F34A0 #A01F74
square
#A08B1F #1FA04B #1F34A0 #A01F74
split-complementary
#A08B1F #1F74A0 #4B1FA0
monochromatic
#39320B #6D5E15 #A08B1F #D3B829 #DFC95A

Accessibility & contrast

On white

3.38
#A08B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#A08B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A08B1F
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A08B1F#FFFFFF#000000##000000
##A08B1F1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8802
Deuteranopia (green-blind)
#9F8F27
Tritanopia (blue-blind)
#AD8077
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a08b1f;
/* rgb */ color: rgb(160, 139, 31);
/* oklch */ color: oklch(63.7% 0.122 97.4);
Tailwind
colors: {
  custom: {
    50: '#c0ac65',
    500: '#a08b1f',
    950: '#000000',
  },
}
SCSS
$custom: #a08b1f;
$custom-light: #c0ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#a08b1f",
  "rgb": {
    "r": 160,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 50.233,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63747,
    "c": 0.122,
    "h": 97.4
  },
  "luminance": 0.26038
}

Semantic roles & 50–950 ramp

primary
#A08B1F
secondary
#5869C3
accent
#5AEA3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A08B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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