#C9C33B#C9C33B

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

Color values

HEX#C9C33B
RGBrgb(201, 195, 59)
HSLhsl(57, 57%, 51%)
HSVhsv(57, 71%, 79%)
CMYKcmyk(0%, 3%, 70.6%, 21.2%)
CIE-LABlab(77.14, -13.53, 65.26)
CIE-LCHlch(77.14, 66.65, 101.71°)
OKLaboklab(79.83% -0.0438 0.1448)
OKLCHoklch(79.83% 0.151 106.8)
XYZxyz(44.3936, 51.7650, 11.7900)
Luminance0.5176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C33B #3B41C9
analogous
#C97C3B #C9C33B #88C93B
triadic
#C9C33B #3BC9C3 #C33BC9
tetradic
#C9C33B #3BC97C #3B41C9 #C93B88
square
#C9C33B #3BC97C #3B41C9 #C93B88
split-complementary
#C9C33B #3B88C9 #7C3BC9
monochromatic
#6C691E #9C972B #C9C33B #D6D26B #E3E09B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9C33B#FFFFFF#000000##000000
##C9C33B1.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)
#D3BC24
Deuteranopia (green-blind)
#D6C145
Tritanopia (blue-blind)
#D8B6A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c9c33b;
/* rgb */ color: rgb(201, 195, 59);
/* oklch */ color: oklch(79.8% 0.151 106.8);
Tailwind
colors: {
  custom: {
    50: '#ddd47a',
    500: '#c9c33b',
    950: '#000000',
  },
}
SCSS
$custom: #c9c33b;
$custom-light: #ddd47a;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c33b",
  "rgb": {
    "r": 201,
    "g": 195,
    "b": 59
  },
  "hsl": {
    "h": 57.465,
    "s": 56.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.79829,
    "c": 0.15127,
    "h": 106.8
  },
  "luminance": 0.51763
}

Semantic roles & 50–950 ramp

primary
#C9C33B
secondary
#333576
accent
#4EE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #C9C33B

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

Preview Lab → · Contrast checker → · Palette generator →

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