#C9C042#C9C042

#C9C042 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.2% C 0.144 H 105.2°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#C9C042
RGBrgb(201, 192, 66)
HSLhsl(56, 56%, 52%)
HSVhsv(56, 67%, 79%)
CMYKcmyk(0%, 4.5%, 67.2%, 21.2%)
CIE-LABlab(76.38, -11.64, 61.85)
CIE-LCHlch(76.38, 62.93, 100.66°)
OKLaboklab(79.24% -0.0378 0.1388)
OKLCHoklch(79.24% 0.144 105.2)
XYZxyz(43.9221, 50.5117, 12.5893)
Luminance0.5051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C042 #424BC9
analogous
#C97D42 #C9C042 #8FC942
triadic
#C9C042 #42C9C0 #C042C9
tetradic
#C9C042 #42C97D #424BC9 #C9428F
square
#C9C042 #42C97D #424BC9 #C9428F
split-complementary
#C9C042 #428FC9 #7D42C9
monochromatic
#706B20 #A0982E #C9C042 #D7D072 #E4E0A1

Accessibility & contrast

On white

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

On black

11.10
#C9C042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C042
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C042#FFFFFF#000000##000000
##C9C0421.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B930
Deuteranopia (green-blind)
#D4BF4A
Tritanopia (blue-blind)
#D8B3A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c9c042;
/* rgb */ color: rgb(201, 192, 66);
/* oklch */ color: oklch(79.2% 0.144 105.2);
Tailwind
colors: {
  custom: {
    50: '#ddd27d',
    500: '#c9c042',
    950: '#000000',
  },
}
SCSS
$custom: #c9c042;
$custom-light: #ddd27d;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c042",
  "rgb": {
    "r": 201,
    "g": 192,
    "b": 66
  },
  "hsl": {
    "h": 56,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.7924,
    "c": 0.14381,
    "h": 105.2
  },
  "luminance": 0.5051
}

Semantic roles & 50–950 ramp

primary
#C9C042
secondary
#363A7A
accent
#53DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C9C042

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

Preview Lab → · Contrast checker → · Palette generator →

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