#C9C22C#C9C22C

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

Color values

HEX#C9C22C
RGBrgb(201, 194, 44)
HSLhsl(57, 64%, 48%)
HSVhsv(57, 78%, 79%)
CMYKcmyk(0%, 3.5%, 78.1%, 21.2%)
CIE-LABlab(76.79, -13.65, 69.89)
CIE-LCHlch(76.79, 71.21, 101.05°)
OKLaboklab(79.52% -0.0455 0.1519)
OKLCHoklch(79.52% 0.159 106.7)
XYZxyz(43.8357, 51.1845, 9.9529)
Luminance0.5118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C22C #2C33C9
analogous
#C9732C #C9C22C #81C92C
triadic
#C9C22C #2CC9C2 #C22CC9
tetradic
#C9C22C #2CC973 #2C33C9 #C92C81
square
#C9C22C #2CC973 #2C33C9 #C92C81
split-complementary
#C9C22C #2C81C9 #732CC9
monochromatic
#656116 #979221 #C9C22C #DAD558 #E5E18A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9C22C#FFFFFF#000000##000000
##C9C22C1.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)
#D6C039
Tritanopia (blue-blind)
#D8B5A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c9c22c;
/* rgb */ color: rgb(201, 194, 44);
/* oklch */ color: oklch(79.5% 0.159 106.7);
Tailwind
colors: {
  custom: {
    50: '#ded473',
    500: '#c9c22c',
    950: '#000000',
  },
}
SCSS
$custom: #c9c22c;
$custom-light: #ded473;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c22c",
  "rgb": {
    "r": 201,
    "g": 194,
    "b": 44
  },
  "hsl": {
    "h": 57.325,
    "s": 64.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.79524,
    "c": 0.15856,
    "h": 106.7
  },
  "luminance": 0.51183
}

Semantic roles & 50–950 ramp

primary
#C9C22C
secondary
#2A2D6F
accent
#48E741
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C9C22C

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

Preview Lab → · Contrast checker → · Palette generator →

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