#C9C22D#C9C22D

#C9C22D is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.5% C 0.158 H 106.7°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#C9C22D
RGBrgb(201, 194, 45)
HSLhsl(57, 63%, 48%)
HSVhsv(57, 78%, 79%)
CMYKcmyk(0%, 3.5%, 77.6%, 21.2%)
CIE-LABlab(76.80, -13.62, 69.60)
CIE-LCHlch(76.80, 70.92, 101.07°)
OKLaboklab(79.53% -0.0453 0.1515)
OKLCHoklch(79.53% 0.158 106.7)
XYZxyz(43.8547, 51.1922, 10.0531)
Luminance0.5119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C22D #2D34C9
analogous
#C9742D #C9C22D #82C92D
triadic
#C9C22D #2DC9C2 #C22DC9
tetradic
#C9C22D #2DC974 #2D34C9 #C92D82
square
#C9C22D #2DC974 #2D34C9 #C92D82
split-complementary
#C9C22D #2D82C9 #742DC9
monochromatic
#656117 #979222 #C9C22D #DAD459 #E5E18B

Accessibility & contrast

On white

1.87
#C9C22D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#C9C22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C22D
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C22D#FFFFFF#000000##000000
##C9C22D1.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BA00
Deuteranopia (green-blind)
#D6C03A
Tritanopia (blue-blind)
#D8B5A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c9c22d;
/* rgb */ color: rgb(201, 194, 45);
/* oklch */ color: oklch(79.5% 0.158 106.7);
Tailwind
colors: {
  custom: {
    50: '#ddd473',
    500: '#c9c22d',
    950: '#000000',
  },
}
SCSS
$custom: #c9c22d;
$custom-light: #ddd473;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c22d",
  "rgb": {
    "r": 201,
    "g": 194,
    "b": 45
  },
  "hsl": {
    "h": 57.308,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.7953,
    "c": 0.15809,
    "h": 106.7
  },
  "luminance": 0.51191
}

Semantic roles & 50–950 ramp

primary
#C9C22D
secondary
#2B2E6F
accent
#49E641
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C9C22D

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

Preview Lab → · Contrast checker → · Palette generator →

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