#C5AC3B#C5AC3B

#C5AC3B is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.6% C 0.132 H 96.4°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#C5AC3B
RGBrgb(197, 172, 59)
HSLhsl(49, 54%, 50%)
HSVhsv(49, 70%, 77%)
CMYKcmyk(0%, 12.7%, 70.1%, 22.7%)
CIE-LABlab(70.66, -3.35, 58.72)
CIE-LCHlch(70.66, 58.81, 93.27°)
OKLaboklab(74.6% -0.0148 0.1311)
OKLCHoklch(74.6% 0.132 96.4)
XYZxyz(38.5698, 41.6931, 10.1528)
Luminance0.4169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AC3B #3B54C5
analogous
#C5673B #C5AC3B #99C53B
triadic
#C5AC3B #3BC5AC #AC3BC5
tetradic
#C5AC3B #3BC567 #3B54C5 #C53B99
square
#C5AC3B #3BC567 #3B54C5 #C53B99
split-complementary
#C5AC3B #3B99C5 #673BC5
monochromatic
#675A1F #96832C #C5AC3B #D3C06A #E1D499

Accessibility & contrast

On white

2.25
#C5AC3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#C5AC3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AC3B
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AC3B#FFFFFF#000000##000000
##C5AC3B1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA82B
Deuteranopia (green-blind)
#C4B041
Tritanopia (blue-blind)
#D49F95
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c5ac3b;
/* rgb */ color: rgb(197, 172, 59);
/* oklch */ color: oklch(74.6% 0.132 96.4);
Tailwind
colors: {
  custom: {
    50: '#dac478',
    500: '#c5ac3b',
    950: '#000000',
  },
}
SCSS
$custom: #c5ac3b;
$custom-light: #dac478;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ac3b",
  "rgb": {
    "r": 197,
    "g": 172,
    "b": 59
  },
  "hsl": {
    "h": 49.13,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.74596,
    "c": 0.13193,
    "h": 96.4
  },
  "luminance": 0.41691
}

Semantic roles & 50–950 ramp

primary
#C5AC3B
secondary
#8F9ACD
accent
#65DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C5AC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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