#A08D1F#A08D1F

#A08D1F is a light, vivid yellow. Relative luminance 0.266; OKLCH L 64.2% C 0.123 H 98.7°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A08D1F
RGBrgb(160, 141, 31)
HSLhsl(51, 68%, 37%)
HSVhsv(51, 81%, 63%)
CMYKcmyk(0%, 11.9%, 80.6%, 37.3%)
CIE-LABlab(58.62, -4.44, 56.30)
CIE-LCHlch(58.62, 56.48, 94.51°)
OKLaboklab(64.18% -0.0187 0.122)
OKLCHoklch(64.18% 0.123 98.7)
XYZxyz(24.2707, 26.6235, 5.1565)
Luminance0.2662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A08D1F #1F32A0
analogous
#A04D1F #A08D1F #72A01F
triadic
#A08D1F #1FA08D #8D1FA0
tetradic
#A08D1F #1FA04D #1F32A0 #A01F72
square
#A08D1F #1FA04D #1F32A0 #A01F72
split-complementary
#A08D1F #1F72A0 #4D1FA0
monochromatic
#39330B #6D6015 #A08D1F #D3BA29 #DFCC5A

Accessibility & contrast

On white

3.32
#A08D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#A08D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A08D1F
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A08D1F#FFFFFF#000000##000000
##A08D1F1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8901
Deuteranopia (green-blind)
#A19027
Tritanopia (blue-blind)
#AD8279
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a08d1f;
/* rgb */ color: rgb(160, 141, 31);
/* oklch */ color: oklch(64.2% 0.123 98.7);
Tailwind
colors: {
  custom: {
    50: '#c0ad65',
    500: '#a08d1f',
    950: '#000000',
  },
}
SCSS
$custom: #a08d1f;
$custom-light: #c0ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#a08d1f",
  "rgb": {
    "r": 160,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 51.163,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64183,
    "c": 0.12347,
    "h": 98.7
  },
  "luminance": 0.26622
}

Semantic roles & 50–950 ramp

primary
#A08D1F
secondary
#5868C3
accent
#57EA3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A08D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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