#C5AC38#C5AC38

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

Color values

HEX#C5AC38
RGBrgb(197, 172, 56)
HSLhsl(49, 56%, 50%)
HSVhsv(49, 72%, 77%)
CMYKcmyk(0%, 12.7%, 71.6%, 22.7%)
CIE-LABlab(70.64, -3.51, 59.88)
CIE-LCHlch(70.64, 59.99, 93.35°)
OKLaboklab(74.57% -0.0156 0.133)
OKLCHoklch(74.57% 0.134 96.7)
XYZxyz(38.4942, 41.6629, 9.7548)
Luminance0.4166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AC38 #3851C5
analogous
#C56638 #C5AC38 #97C538
triadic
#C5AC38 #38C5AC #AC38C5
tetradic
#C5AC38 #38C566 #3851C5 #C53897
square
#C5AC38 #38C566 #3851C5 #C53897
split-complementary
#C5AC38 #3897C5 #6638C5
monochromatic
#66591D #95822A #C5AC38 #D4C067 #E1D496

Accessibility & contrast

On white

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

On black

9.33
#C5AC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AC38
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AC38#FFFFFF#000000##000000
##C5AC381.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA826
Deuteranopia (green-blind)
#C4B03F
Tritanopia (blue-blind)
#D59F95
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c5ac38;
/* rgb */ color: rgb(197, 172, 56);
/* oklch */ color: oklch(74.6% 0.134 96.7);
Tailwind
colors: {
  custom: {
    50: '#dac476',
    500: '#c5ac38',
    950: '#000000',
  },
}
SCSS
$custom: #c5ac38;
$custom-light: #dac476;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ac38",
  "rgb": {
    "r": 197,
    "g": 172,
    "b": 56
  },
  "hsl": {
    "h": 49.362,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74573,
    "c": 0.13393,
    "h": 96.7
  },
  "luminance": 0.41661
}

Semantic roles & 50–950 ramp

primary
#C5AC38
secondary
#8C98CD
accent
#63DF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C5AC38

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

Preview Lab → · Contrast checker → · Palette generator →

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