#C9C339#C9C339

#C9C339 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.8% C 0.152 H 106.9°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#C9C339
RGBrgb(201, 195, 57)
HSLhsl(58, 57%, 51%)
HSVhsv(58, 72%, 79%)
CMYKcmyk(0%, 3%, 71.6%, 21.2%)
CIE-LABlab(77.13, -13.62, 65.97)
CIE-LCHlch(77.13, 67.36, 101.67°)
OKLaboklab(79.82% -0.0443 0.1459)
OKLCHoklch(79.82% 0.152 106.9)
XYZxyz(44.3428, 51.7447, 11.5220)
Luminance0.5174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C339 #393FC9
analogous
#C97B39 #C9C339 #87C939
triadic
#C9C339 #39C9C3 #C339C9
tetradic
#C9C339 #39C97B #393FC9 #C93987
square
#C9C339 #39C97B #393FC9 #C93987
split-complementary
#C9C339 #3987C9 #7B39C9
monochromatic
#6B671D #9B962A #C9C339 #D6D269 #E3E099

Accessibility & contrast

On white

1.85
#C9C339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#C9C339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C339
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C339#FFFFFF#000000##000000
##C9C3391.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC20
Deuteranopia (green-blind)
#D6C143
Tritanopia (blue-blind)
#D8B6A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c9c339;
/* rgb */ color: rgb(201, 195, 57);
/* oklch */ color: oklch(79.8% 0.152 106.9);
Tailwind
colors: {
  custom: {
    50: '#ddd479',
    500: '#c9c339',
    950: '#000000',
  },
}
SCSS
$custom: #c9c339;
$custom-light: #ddd479;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c339",
  "rgb": {
    "r": 201,
    "g": 195,
    "b": 57
  },
  "hsl": {
    "h": 57.5,
    "s": 57.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.79815,
    "c": 0.15249,
    "h": 106.9
  },
  "luminance": 0.51743
}

Semantic roles & 50–950 ramp

primary
#C9C339
secondary
#323574
accent
#4EE047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #C9C339

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

Preview Lab → · Contrast checker → · Palette generator →

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