#C9C22E#C9C22E

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

Color values

HEX#C9C22E
RGBrgb(201, 194, 46)
HSLhsl(57, 63%, 48%)
HSVhsv(57, 77%, 79%)
CMYKcmyk(0%, 3.5%, 77.1%, 21.2%)
CIE-LABlab(76.80, -13.58, 69.30)
CIE-LCHlch(76.80, 70.62, 101.09°)
OKLaboklab(79.54% -0.0451 0.151)
OKLCHoklch(79.54% 0.158 106.6)
XYZxyz(43.8742, 51.1999, 10.1557)
Luminance0.5120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C22E #2E35C9
analogous
#C9742E #C9C22E #82C92E
triadic
#C9C22E #2EC9C2 #C22EC9
tetradic
#C9C22E #2EC974 #2E35C9 #C92E82
square
#C9C22E #2EC974 #2E35C9 #C92E82
split-complementary
#C9C22E #2E82C9 #742EC9
monochromatic
#656217 #979223 #C9C22E #D9D45B #E5E18D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9C22E#FFFFFF#000000##000000
##C9C22E1.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)
#D3BA02
Deuteranopia (green-blind)
#D6C03A
Tritanopia (blue-blind)
#D8B5A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c9c22e;
/* rgb */ color: rgb(201, 194, 46);
/* oklch */ color: oklch(79.5% 0.158 106.6);
Tailwind
colors: {
  custom: {
    50: '#ddd473',
    500: '#c9c22e',
    950: '#000000',
  },
}
SCSS
$custom: #c9c22e;
$custom-light: #ddd473;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c22e",
  "rgb": {
    "r": 201,
    "g": 194,
    "b": 46
  },
  "hsl": {
    "h": 57.29,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.79535,
    "c": 0.1576,
    "h": 106.6
  },
  "luminance": 0.51198
}

Semantic roles & 50–950 ramp

primary
#C9C22E
secondary
#2C2F70
accent
#49E642
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C9C22E

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

Preview Lab → · Contrast checker → · Palette generator →

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