#C9C752#C9C752

#C9C752 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.9% C 0.138 H 108.2°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#C9C752
RGBrgb(201, 199, 82)
HSLhsl(59, 52%, 55%)
HSVhsv(59, 59%, 79%)
CMYKcmyk(0%, 1%, 59.2%, 21.2%)
CIE-LABlab(78.39, -14.18, 57.30)
CIE-LCHlch(78.39, 59.03, 103.90°)
OKLaboklab(80.88% -0.0433 0.1315)
OKLCHoklch(80.88% 0.138 108.2)
XYZxyz(46.0352, 53.8749, 15.9549)
Luminance0.5387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C752 #5254C9
analogous
#C98C52 #C9C752 #8FC952
triadic
#C9C752 #52C9C7 #C752C9
tetradic
#C9C752 #52C98C #5254C9 #C9528F
square
#C9C752 #52C98C #5254C9 #C9528F
split-complementary
#C9C752 #528FC9 #8C52C9
monochromatic
#7A7926 #A9A735 #C9C752 #D8D681 #E6E5AF

Accessibility & contrast

On white

1.78
#C9C752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#C9C752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C752
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C752#FFFFFF#000000##000000
##C9C7521.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C045
Deuteranopia (green-blind)
#D8C459
Tritanopia (blue-blind)
#D6BBAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c9c752;
/* rgb */ color: rgb(201, 199, 82);
/* oklch */ color: oklch(80.9% 0.138 108.2);
Tailwind
colors: {
  custom: {
    50: '#dcd787',
    500: '#c9c752',
    950: '#000000',
  },
}
SCSS
$custom: #c9c752;
$custom-light: #dcd787;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c752",
  "rgb": {
    "r": 201,
    "g": 199,
    "b": 82
  },
  "hsl": {
    "h": 58.992,
    "s": 52.423,
    "l": 55.49
  },
  "oklch": {
    "l": 0.8088,
    "c": 0.13845,
    "h": 108.2
  },
  "luminance": 0.53874
}

Semantic roles & 50–950 ramp

primary
#C9C752
secondary
#3D3E83
accent
#4EDC4C
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C9C752

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

Preview Lab → · Contrast checker → · Palette generator →

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