#C9C652#C9C652

#C9C652 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.7% C 0.137 H 107.7°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#C9C652
RGBrgb(201, 198, 82)
HSLhsl(58, 52%, 55%)
HSVhsv(58, 59%, 79%)
CMYKcmyk(0%, 1.5%, 59.2%, 21.2%)
CIE-LABlab(78.12, -13.68, 57.00)
CIE-LCHlch(78.12, 58.62, 103.49°)
OKLaboklab(80.67% -0.0418 0.1309)
OKLCHoklch(80.67% 0.137 107.7)
XYZxyz(45.8059, 53.4162, 15.8785)
Luminance0.5342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C652 #5255C9
analogous
#C98A52 #C9C652 #91C952
triadic
#C9C652 #52C9C6 #C652C9
tetradic
#C9C652 #52C98A #5255C9 #C95291
square
#C9C652 #52C98A #5255C9 #C95291
split-complementary
#C9C652 #5291C9 #8A52C9
monochromatic
#7A7826 #A9A635 #C9C652 #D8D581 #E6E5AF

Accessibility & contrast

On white

1.80
#C9C652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#C9C652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C652
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C652#FFFFFF#000000##000000
##C9C6521.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF45
Deuteranopia (green-blind)
#D7C359
Tritanopia (blue-blind)
#D6BAAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c9c652;
/* rgb */ color: rgb(201, 198, 82);
/* oklch */ color: oklch(80.7% 0.137 107.7);
Tailwind
colors: {
  custom: {
    50: '#dcd787',
    500: '#c9c652',
    950: '#000000',
  },
}
SCSS
$custom: #c9c652;
$custom-light: #dcd787;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c652",
  "rgb": {
    "r": 201,
    "g": 198,
    "b": 82
  },
  "hsl": {
    "h": 58.487,
    "s": 52.423,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80666,
    "c": 0.13741,
    "h": 107.7
  },
  "luminance": 0.53415
}

Semantic roles & 50–950 ramp

primary
#C9C652
secondary
#3D3E83
accent
#50DC4C
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C9C652

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

Preview Lab → · Contrast checker → · Palette generator →

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