#A08C1F#A08C1F

#A08C1F is a light, vivid yellow. Relative luminance 0.263; OKLCH L 64.0% C 0.123 H 98.0°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A08C1F
RGBrgb(160, 140, 31)
HSLhsl(51, 68%, 37%)
HSVhsv(51, 81%, 63%)
CMYKcmyk(0%, 12.5%, 80.6%, 37.3%)
CIE-LABlab(58.35, -3.90, 56.06)
CIE-LCHlch(58.35, 56.19, 93.98°)
OKLaboklab(63.96% -0.0172 0.1215)
OKLCHoklch(63.96% 0.123 98)
XYZxyz(24.1239, 26.3300, 5.1076)
Luminance0.2633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A08C1F #1F33A0
analogous
#A04C1F #A08C1F #73A01F
triadic
#A08C1F #1FA08C #8C1FA0
tetradic
#A08C1F #1FA04C #1F33A0 #A01F73
square
#A08C1F #1FA04C #1F33A0 #A01F73
split-complementary
#A08C1F #1F73A0 #4C1FA0
monochromatic
#39320B #6D5F15 #A08C1F #D3B929 #DFCB5A

Accessibility & contrast

On white

3.35
#A08C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#A08C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A08C1F
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A08C1F#FFFFFF#000000##000000
##A08C1F1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8801
Deuteranopia (green-blind)
#A08F27
Tritanopia (blue-blind)
#AD8178
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a08c1f;
/* rgb */ color: rgb(160, 140, 31);
/* oklch */ color: oklch(64.0% 0.123 98.0);
Tailwind
colors: {
  custom: {
    50: '#c0ad65',
    500: '#a08c1f',
    950: '#000000',
  },
}
SCSS
$custom: #a08c1f;
$custom-light: #c0ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#a08c1f",
  "rgb": {
    "r": 160,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 50.698,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63964,
    "c": 0.12272,
    "h": 98
  },
  "luminance": 0.26329
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A08C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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