#C9C52F#C9C52F

#C9C52F is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.2% C 0.160 H 107.9°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#C9C52F
RGBrgb(201, 197, 47)
HSLhsl(58, 62%, 49%)
HSVhsv(58, 77%, 79%)
CMYKcmyk(0%, 2%, 76.6%, 21.2%)
CIE-LABlab(77.61, -15.05, 69.73)
CIE-LCHlch(77.61, 71.33, 102.18°)
OKLaboklab(80.19% -0.0492 0.1521)
OKLCHoklch(80.19% 0.16 107.9)
XYZxyz(44.5685, 52.5568, 10.4856)
Luminance0.5255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C52F #2F33C9
analogous
#C9782F #C9C52F #80C92F
triadic
#C9C52F #2FC9C5 #C52FC9
tetradic
#C9C52F #2FC978 #2F33C9 #C92F80
square
#C9C52F #2FC978 #2F33C9 #C92F80
split-complementary
#C9C52F #2F80C9 #782FC9
monochromatic
#666418 #979423 #C9C52F #D9D65C #E5E28E

Accessibility & contrast

On white

1.82
#C9C52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#C9C52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C52F
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C52F#FFFFFF#000000##000000
##C9C52F1.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD03
Deuteranopia (green-blind)
#D8C23C
Tritanopia (blue-blind)
#D8B8A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c9c52f;
/* rgb */ color: rgb(201, 197, 47);
/* oklch */ color: oklch(80.2% 0.160 107.9);
Tailwind
colors: {
  custom: {
    50: '#ddd674',
    500: '#c9c52f',
    950: '#000000',
  },
}
SCSS
$custom: #c9c52f;
$custom-light: #ddd674;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c52f",
  "rgb": {
    "r": 201,
    "g": 197,
    "b": 47
  },
  "hsl": {
    "h": 58.442,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.80185,
    "c": 0.15986,
    "h": 107.9
  },
  "luminance": 0.52555
}

Semantic roles & 50–950 ramp

primary
#C9C52F
secondary
#2C2E70
accent
#47E543
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C9C52F

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

Preview Lab → · Contrast checker → · Palette generator →

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