#C9C42E#C9C42E

#C9C42E is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.0% C 0.159 H 107.5°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#C9C42E
RGBrgb(201, 196, 46)
HSLhsl(58, 63%, 48%)
HSVhsv(58, 77%, 79%)
CMYKcmyk(0%, 2.5%, 77.1%, 21.2%)
CIE-LABlab(77.34, -14.59, 69.78)
CIE-LCHlch(77.34, 71.29, 101.81°)
OKLaboklab(79.96% -0.048 0.152)
OKLCHoklch(79.96% 0.159 107.5)
XYZxyz(44.3223, 52.0962, 10.3051)
Luminance0.5210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C42E #2E33C9
analogous
#C9772E #C9C42E #80C92E
triadic
#C9C42E #2EC9C4 #C42EC9
tetradic
#C9C42E #2EC977 #2E33C9 #C92E80
square
#C9C42E #2EC977 #2E33C9 #C92E80
split-complementary
#C9C42E #2E80C9 #772EC9
monochromatic
#656317 #979323 #C9C42E #D9D55B #E5E28D

Accessibility & contrast

On white

1.84
#C9C42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#C9C42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C42E
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C42E#FFFFFF#000000##000000
##C9C42E1.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC00
Deuteranopia (green-blind)
#D8C13B
Tritanopia (blue-blind)
#D8B7A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c9c42e;
/* rgb */ color: rgb(201, 196, 46);
/* oklch */ color: oklch(80.0% 0.159 107.5);
Tailwind
colors: {
  custom: {
    50: '#ddd574',
    500: '#c9c42e',
    950: '#000000',
  },
}
SCSS
$custom: #c9c42e;
$custom-light: #ddd574;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c42e",
  "rgb": {
    "r": 201,
    "g": 196,
    "b": 46
  },
  "hsl": {
    "h": 58.065,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.79964,
    "c": 0.15942,
    "h": 107.5
  },
  "luminance": 0.52095
}

Semantic roles & 50–950 ramp

primary
#C9C42E
secondary
#2C2E70
accent
#47E642
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C9C42E

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

Preview Lab → · Contrast checker → · Palette generator →

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