#C9C33A#C9C33A

#C9C33A is a light, vivid yellow. Relative luminance 0.518; 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#C9C33A
RGBrgb(201, 195, 58)
HSLhsl(57, 57%, 51%)
HSVhsv(57, 71%, 79%)
CMYKcmyk(0%, 3%, 71.1%, 21.2%)
CIE-LABlab(77.13, -13.57, 65.62)
CIE-LCHlch(77.13, 67.00, 101.69°)
OKLaboklab(79.82% -0.0441 0.1454)
OKLCHoklch(79.82% 0.152 106.9)
XYZxyz(44.3679, 51.7548, 11.6547)
Luminance0.5175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C33A #3A40C9
analogous
#C97C3A #C9C33A #87C93A
triadic
#C9C33A #3AC9C3 #C33AC9
tetradic
#C9C33A #3AC97C #3A40C9 #C93A87
square
#C9C33A #3AC97C #3A40C9 #C93A87
split-complementary
#C9C33A #3A87C9 #7C3AC9
monochromatic
#6B681D #9B972B #C9C33A #D6D26A #E3E09A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9C33A#FFFFFF#000000##000000
##C9C33A1.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)
#D3BC22
Deuteranopia (green-blind)
#D6C144
Tritanopia (blue-blind)
#D8B6A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c9c33a;
/* rgb */ color: rgb(201, 195, 58);
/* oklch */ color: oklch(79.8% 0.152 106.9);
Tailwind
colors: {
  custom: {
    50: '#ddd479',
    500: '#c9c33a',
    950: '#000000',
  },
}
SCSS
$custom: #c9c33a;
$custom-light: #ddd479;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c33a",
  "rgb": {
    "r": 201,
    "g": 195,
    "b": 58
  },
  "hsl": {
    "h": 57.483,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.79822,
    "c": 0.15188,
    "h": 106.9
  },
  "luminance": 0.51753
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C9C33A

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

Preview Lab → · Contrast checker → · Palette generator →

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