#C9CB39#C9CB39

#C9CB39 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.5% C 0.160 H 110.3°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#C9CB39
RGBrgb(201, 203, 57)
HSLhsl(61, 58%, 51%)
HSVhsv(61, 72%, 80%)
CMYKcmyk(1%, 0%, 71.9%, 20.4%)
CIE-LABlab(79.29, -17.63, 68.04)
CIE-LCHlch(79.29, 70.28, 104.53°)
OKLaboklab(81.54% -0.0555 0.1503)
OKLCHoklch(81.54% 0.16 110.3)
XYZxyz(46.1835, 55.4261, 12.1356)
Luminance0.5543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9CB39 #3B39CB
analogous
#CB8439 #C9CB39 #80CB39
triadic
#C9CB39 #39C9CB #CB39C9
tetradic
#C9CB39 #39CB84 #3B39CB #CB3980
square
#C9CB39 #39CB84 #3B39CB #CB3980
split-complementary
#C9CB39 #3980CB #8439CB
monochromatic
#6C6D1D #9C9D29 #C9CB39 #D6D869 #E3E49A

Accessibility & contrast

On white

1.74
#C9CB39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#C9CB39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9CB39
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9CB39#FFFFFF#000000##000000
##C9CB391.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC21D
Deuteranopia (green-blind)
#DCC644
Tritanopia (blue-blind)
#D7BEAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c9cb39;
/* rgb */ color: rgb(201, 203, 57);
/* oklch */ color: oklch(81.5% 0.160 110.3);
Tailwind
colors: {
  custom: {
    50: '#ddda7a',
    500: '#c9cb39',
    950: '#000000',
  },
}
SCSS
$custom: #c9cb39;
$custom-light: #ddda7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c9cb39",
  "rgb": {
    "r": 201,
    "g": 203,
    "b": 57
  },
  "hsl": {
    "h": 60.822,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.81538,
    "c": 0.16022,
    "h": 110.3
  },
  "luminance": 0.55425
}

Semantic roles & 50–950 ramp

primary
#C9CB39
secondary
#333276
accent
#46E248
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #C9CB39

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

Preview Lab → · Contrast checker → · Palette generator →

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