#C9C23E#C9C23E

#C9C23E is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.6% C 0.148 H 106.3°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#C9C23E
RGBrgb(201, 194, 62)
HSLhsl(57, 56%, 52%)
HSVhsv(57, 69%, 79%)
CMYKcmyk(0%, 3.5%, 69.2%, 21.2%)
CIE-LABlab(76.89, -12.87, 63.90)
CIE-LCHlch(76.89, 65.19, 101.39°)
OKLaboklab(79.64% -0.0417 0.1424)
OKLCHoklch(79.64% 0.148 106.3)
XYZxyz(44.2504, 51.3504, 12.1372)
Luminance0.5135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C23E #3E45C9
analogous
#C97D3E #C9C23E #8BC93E
triadic
#C9C23E #3EC9C2 #C23EC9
tetradic
#C9C23E #3EC97D #3E45C9 #C93E8B
square
#C9C23E #3EC97D #3E45C9 #C93E8B
split-complementary
#C9C23E #3E8BC9 #7D3EC9
monochromatic
#6E6A1F #9E982C #C9C23E #D6D16E #E4E09E

Accessibility & contrast

On white

1.86
#C9C23E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#C9C23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C23E
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C23E#FFFFFF#000000##000000
##C9C23E1.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB29
Deuteranopia (green-blind)
#D5C047
Tritanopia (blue-blind)
#D8B5A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c9c23e;
/* rgb */ color: rgb(201, 194, 62);
/* oklch */ color: oklch(79.6% 0.148 106.3);
Tailwind
colors: {
  custom: {
    50: '#ddd47b',
    500: '#c9c23e',
    950: '#000000',
  },
}
SCSS
$custom: #c9c23e;
$custom-light: #ddd47b;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c23e",
  "rgb": {
    "r": 201,
    "g": 194,
    "b": 62
  },
  "hsl": {
    "h": 56.978,
    "s": 56.275,
    "l": 51.569
  },
  "oklch": {
    "l": 0.79636,
    "c": 0.1484,
    "h": 106.3
  },
  "luminance": 0.51349
}

Semantic roles & 50–950 ramp

primary
#C9C23E
secondary
#343777
accent
#50E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #C9C23E

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

Preview Lab → · Contrast checker → · Palette generator →

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