#C9C23C#C9C23C

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

Color values

HEX#C9C23C
RGBrgb(201, 194, 60)
HSLhsl(57, 57%, 51%)
HSVhsv(57, 70%, 79%)
CMYKcmyk(0%, 3.5%, 70.1%, 21.2%)
CIE-LABlab(76.88, -12.97, 64.64)
CIE-LCHlch(76.88, 65.93, 101.35°)
OKLaboklab(79.62% -0.0422 0.1436)
OKLCHoklch(79.62% 0.15 106.4)
XYZxyz(44.1965, 51.3289, 11.8535)
Luminance0.5133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C23C #3C43C9
analogous
#C97B3C #C9C23C #89C93C
triadic
#C9C23C #3CC9C2 #C23CC9
tetradic
#C9C23C #3CC97B #3C43C9 #C93C89
square
#C9C23C #3CC97B #3C43C9 #C93C89
split-complementary
#C9C23C #3C89C9 #7B3CC9
monochromatic
#6D691E #9C972B #C9C23C #D6D16C #E4E09C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9C23C#FFFFFF#000000##000000
##C9C23C1.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)
#D2BB26
Deuteranopia (green-blind)
#D5C045
Tritanopia (blue-blind)
#D8B5A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c9c23c;
/* rgb */ color: rgb(201, 194, 60);
/* oklch */ color: oklch(79.6% 0.150 106.4);
Tailwind
colors: {
  custom: {
    50: '#ddd47a',
    500: '#c9c23c',
    950: '#000000',
  },
}
SCSS
$custom: #c9c23c;
$custom-light: #ddd47a;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c23c",
  "rgb": {
    "r": 201,
    "g": 194,
    "b": 60
  },
  "hsl": {
    "h": 57.021,
    "s": 56.627,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79622,
    "c": 0.1497,
    "h": 106.4
  },
  "luminance": 0.51327
}

Semantic roles & 50–950 ramp

primary
#C9C23C
secondary
#333676
accent
#4FE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #C9C23C

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

Preview Lab → · Contrast checker → · Palette generator →

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