#C9C04F#C9C04F

#C9C04F is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.4% C 0.134 H 104.8°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#C9C04F
RGBrgb(201, 192, 79)
HSLhsl(56, 53%, 55%)
HSVhsv(56, 61%, 79%)
CMYKcmyk(0%, 4.5%, 60.7%, 21.2%)
CIE-LABlab(76.49, -10.84, 56.53)
CIE-LCHlch(76.49, 57.56, 100.85°)
OKLaboklab(79.36% -0.0341 0.1295)
OKLCHoklch(79.36% 0.134 104.8)
XYZxyz(44.3499, 50.6828, 14.8422)
Luminance0.5068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C04F #4F58C9
analogous
#C9834F #C9C04F #95C94F
triadic
#C9C04F #4FC9C0 #C04FC9
tetradic
#C9C04F #4FC983 #4F58C9 #C94F95
square
#C9C04F #4FC983 #4F58C9 #C94F95
split-complementary
#C9C04F #4F95C9 #834FC9
monochromatic
#797225 #A79F33 #C9C04F #D7D17E #E6E2AD

Accessibility & contrast

On white

1.89
#C9C04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#C9C04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C04F
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C04F#FFFFFF#000000##000000
##C9C04F1.001.8911.1411.14
#FFFFFF1.891.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA42
Deuteranopia (green-blind)
#D3BF55
Tritanopia (blue-blind)
#D7B4A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c9c04f;
/* rgb */ color: rgb(201, 192, 79);
/* oklch */ color: oklch(79.4% 0.134 104.8);
Tailwind
colors: {
  custom: {
    50: '#dcd285',
    500: '#c9c04f',
    950: '#000000',
  },
}
SCSS
$custom: #c9c04f;
$custom-light: #dcd285;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c04f",
  "rgb": {
    "r": 201,
    "g": 192,
    "b": 79
  },
  "hsl": {
    "h": 55.574,
    "s": 53.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79356,
    "c": 0.13389,
    "h": 104.8
  },
  "luminance": 0.50681
}

Semantic roles & 50–950 ramp

primary
#C9C04F
secondary
#3B4081
accent
#56DC4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C9C04F

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

Preview Lab → · Contrast checker → · Palette generator →

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