#C9D23B#C9D23B

#C9D23B is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.1% C 0.166 H 112.9°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#C9D23B
RGBrgb(201, 210, 59)
HSLhsl(64, 63%, 53%)
HSVhsv(64, 72%, 82%)
CMYKcmyk(4.3%, 0%, 71.9%, 17.6%)
CIE-LABlab(81.20, -20.99, 69.18)
CIE-LCHlch(81.20, 72.29, 106.88°)
OKLaboklab(83.07% -0.0647 0.1531)
OKLCHoklch(83.07% 0.166 112.9)
XYZxyz(47.9249, 58.8275, 12.9671)
Luminance0.5883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9D23B #443BD2
analogous
#D28F3B #C9D23B #7ED23B
triadic
#C9D23B #3BC9D2 #D23BC9
tetradic
#C9D23B #3BD28F #443BD2 #D23B7E
square
#C9D23B #3BD28F #443BD2 #D23B7E
split-complementary
#C9D23B #3B7ED2 #8F3BD2
monochromatic
#72771B #A1A927 #C9D23B #D7DD6D #E4E99F

Accessibility & contrast

On white

1.65
#C9D23B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.77
#C9D23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9D23B
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9D23B#FFFFFF#000000##000000
##C9D23B1.001.6512.7712.77
#FFFFFF1.651.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C81E
Deuteranopia (green-blind)
#E2CB47
Tritanopia (blue-blind)
#D7C5B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c9d23b;
/* rgb */ color: rgb(201, 210, 59);
/* oklch */ color: oklch(83.1% 0.166 112.9);
Tailwind
colors: {
  custom: {
    50: '#dddf7b',
    500: '#c9d23b',
    950: '#000000',
  },
}
SCSS
$custom: #c9d23b;
$custom-light: #dddf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c9d23b",
  "rgb": {
    "r": 201,
    "g": 210,
    "b": 59
  },
  "hsl": {
    "h": 63.576,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.8307,
    "c": 0.16617,
    "h": 112.9
  },
  "luminance": 0.58826
}

Semantic roles & 50–950 ramp

primary
#C9D23B
secondary
#36327F
accent
#42E64C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #C9D23B

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

Preview Lab → · Contrast checker → · Palette generator →

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