#C5AC2A#C5AC2A

#C5AC2A is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.5% C 0.142 H 97.6°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#C5AC2A
RGBrgb(197, 172, 42)
HSLhsl(50, 65%, 47%)
HSVhsv(50, 79%, 77%)
CMYKcmyk(0%, 12.7%, 78.7%, 22.7%)
CIE-LABlab(70.56, -4.10, 64.79)
CIE-LCHlch(70.56, 64.92, 93.62°)
OKLaboklab(74.48% -0.0187 0.1407)
OKLCHoklch(74.48% 0.142 97.6)
XYZxyz(38.1984, 41.5446, 8.1969)
Luminance0.4154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AC2A #2A43C5
analogous
#C55F2A #C5AC2A #90C52A
triadic
#C5AC2A #2AC5AC #AC2AC5
tetradic
#C5AC2A #2AC55F #2A43C5 #C52A90
square
#C5AC2A #2AC55F #2A43C5 #C52A90
split-complementary
#C5AC2A #2A90C5 #5F2AC5
monochromatic
#605414 #93801F #C5AC2A #DAC452 #E5D585

Accessibility & contrast

On white

2.26
#C5AC2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#C5AC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AC2A
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AC2A#FFFFFF#000000##000000
##C5AC2A1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA808
Deuteranopia (green-blind)
#C4B033
Tritanopia (blue-blind)
#D59E94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c5ac2a;
/* rgb */ color: rgb(197, 172, 42);
/* oklch */ color: oklch(74.5% 0.142 97.6);
Tailwind
colors: {
  custom: {
    50: '#dbc46f',
    500: '#c5ac2a',
    950: '#000000',
  },
}
SCSS
$custom: #c5ac2a;
$custom-light: #dbc46f;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ac2a",
  "rgb": {
    "r": 197,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 50.323,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.74481,
    "c": 0.14196,
    "h": 97.6
  },
  "luminance": 0.41543
}

Semantic roles & 50–950 ramp

primary
#C5AC2A
secondary
#7D8ACE
accent
#5BE840
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C5AC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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