#C9CD48#C9CD48

#C9CD48 is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.1% C 0.152 H 111.0°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#C9CD48
RGBrgb(201, 205, 72)
HSLhsl(62, 57%, 54%)
HSVhsv(62, 65%, 80%)
CMYKcmyk(2%, 0%, 64.9%, 19.6%)
CIE-LABlab(79.93, -17.83, 63.11)
CIE-LCHlch(79.93, 65.58, 105.78°)
OKLaboklab(82.08% -0.0546 0.1424)
OKLCHoklch(82.08% 0.152 111)
XYZxyz(47.0898, 56.5492, 14.5642)
Luminance0.5655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9CD48 #4C48CD
analogous
#CD8F48 #C9CD48 #86CD48
triadic
#C9CD48 #48C9CD #CD48C9
tetradic
#C9CD48 #48CD8F #4C48CD #CD4886
square
#C9CD48 #48CD8F #4C48CD #CD4886
split-complementary
#C9CD48 #4886CD #8F48CD
monochromatic
#777921 #A6A92E #C9CD48 #D7DA78 #E5E7A8

Accessibility & contrast

On white

1.71
#C9CD48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#C9CD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9CD48
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9CD48#FFFFFF#000000##000000
##C9CD481.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC436
Deuteranopia (green-blind)
#DDC851
Tritanopia (blue-blind)
#D6C1B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c9cd48;
/* rgb */ color: rgb(201, 205, 72);
/* oklch */ color: oklch(82.1% 0.152 111.0);
Tailwind
colors: {
  custom: {
    50: '#dddc82',
    500: '#c9cd48',
    950: '#000000',
  },
}
SCSS
$custom: #c9cd48;
$custom-light: #dddc82;
$custom-dark: #000000;
JSON
{
  "hex": "#c9cd48",
  "rgb": {
    "r": 201,
    "g": 205,
    "b": 72
  },
  "hsl": {
    "h": 61.805,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.8208,
    "c": 0.15249,
    "h": 111
  },
  "luminance": 0.56548
}

Semantic roles & 50–950 ramp

primary
#C9CD48
secondary
#3A3882
accent
#47E04C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C9CD48

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

Preview Lab → · Contrast checker → · Palette generator →

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