#C5AD38#C5AD38

#C5AD38 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.8% C 0.135 H 97.3°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#C5AD38
RGBrgb(197, 173, 56)
HSLhsl(50, 56%, 50%)
HSVhsv(50, 72%, 77%)
CMYKcmyk(0%, 12.2%, 71.6%, 22.7%)
CIE-LABlab(70.90, -4.03, 60.15)
CIE-LCHlch(70.90, 60.28, 93.84°)
OKLaboklab(74.78% -0.0171 0.1336)
OKLCHoklch(74.78% 0.135 97.3)
XYZxyz(38.6852, 42.0450, 9.8184)
Luminance0.4204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AD38 #3850C5
analogous
#C56638 #C5AD38 #97C538
triadic
#C5AD38 #38C5AD #AD38C5
tetradic
#C5AD38 #38C566 #3850C5 #C53897
square
#C5AD38 #38C566 #3850C5 #C53897
split-complementary
#C5AD38 #3897C5 #6638C5
monochromatic
#66591D #95832A #C5AD38 #D4C167 #E1D496

Accessibility & contrast

On white

2.23
#C5AD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#C5AD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AD38
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AD38#FFFFFF#000000##000000
##C5AD381.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA926
Deuteranopia (green-blind)
#C5B13F
Tritanopia (blue-blind)
#D4A096
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c5ad38;
/* rgb */ color: rgb(197, 173, 56);
/* oklch */ color: oklch(74.8% 0.135 97.3);
Tailwind
colors: {
  custom: {
    50: '#dac576',
    500: '#c5ad38',
    950: '#000000',
  },
}
SCSS
$custom: #c5ad38;
$custom-light: #dac576;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ad38",
  "rgb": {
    "r": 197,
    "g": 173,
    "b": 56
  },
  "hsl": {
    "h": 49.787,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74782,
    "c": 0.13466,
    "h": 97.3
  },
  "luminance": 0.42043
}

Semantic roles & 50–950 ramp

primary
#C5AD38
secondary
#8C97CD
accent
#62DF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C5AD38

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

Preview Lab → · Contrast checker → · Palette generator →

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