#C5AD2A#C5AD2A

#C5AD2A is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.7% C 0.143 H 98.1°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#C5AD2A
RGBrgb(197, 173, 42)
HSLhsl(51, 65%, 47%)
HSVhsv(51, 79%, 77%)
CMYKcmyk(0%, 12.2%, 78.7%, 22.7%)
CIE-LABlab(70.82, -4.63, 65.02)
CIE-LCHlch(70.82, 65.19, 94.07°)
OKLaboklab(74.69% -0.0201 0.1412)
OKLCHoklch(74.69% 0.143 98.1)
XYZxyz(38.3895, 41.9266, 8.2606)
Luminance0.4193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AD2A #2A42C5
analogous
#C5602A #C5AD2A #90C52A
triadic
#C5AD2A #2AC5AD #AD2AC5
tetradic
#C5AD2A #2AC560 #2A42C5 #C52A90
square
#C5AD2A #2AC560 #2A42C5 #C52A90
split-complementary
#C5AD2A #2A90C5 #602AC5
monochromatic
#605414 #93811F #C5AD2A #DAC552 #E5D685

Accessibility & contrast

On white

2.24
#C5AD2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#C5AD2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AD2A
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AD2A#FFFFFF#000000##000000
##C5AD2A1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5ad2a;
/* rgb */ color: rgb(197, 173, 42);
/* oklch */ color: oklch(74.7% 0.143 98.1);
Tailwind
colors: {
  custom: {
    50: '#dbc56f',
    500: '#c5ad2a',
    950: '#000000',
  },
}
SCSS
$custom: #c5ad2a;
$custom-light: #dbc56f;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ad2a",
  "rgb": {
    "r": 197,
    "g": 173,
    "b": 42
  },
  "hsl": {
    "h": 50.71,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.74691,
    "c": 0.14267,
    "h": 98.1
  },
  "luminance": 0.41925
}

Semantic roles & 50–950 ramp

primary
#C5AD2A
secondary
#7D89CE
accent
#5AE840
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C5AD2A

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

Preview Lab → · Contrast checker → · Palette generator →

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