#C5D423#C5D423

#C5D423 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.1% C 0.181 H 114.9°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#C5D423
RGBrgb(197, 212, 35)
HSLhsl(65, 72%, 48%)
HSVhsv(65, 83%, 83%)
CMYKcmyk(7.1%, 0%, 83.5%, 16.9%)
CIE-LABlab(81.34, -24.51, 76.03)
CIE-LCHlch(81.34, 79.89, 107.87°)
OKLaboklab(83.07% -0.076 0.1638)
OKLCHoklch(83.07% 0.181 114.9)
XYZxyz(46.8743, 59.0795, 10.5240)
Luminance0.5908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D423 #3223D4
analogous
#D48A23 #C5D423 #6CD423
triadic
#C5D423 #23C5D4 #D423C5
tetradic
#C5D423 #23D48A #3223D4 #D4236C
square
#C5D423 #23D48A #3223D4 #D4236C
split-complementary
#C5D423 #236CD4 #8A23D4
monochromatic
#636B12 #949F1A #C5D423 #D6E252 #E3EB86

Accessibility & contrast

On white

1.64
#C5D423 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#C5D423 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D423
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D423#FFFFFF#000000##000000
##C5D4231.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4C900
Deuteranopia (green-blind)
#E3CB37
Tritanopia (blue-blind)
#D2C7B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c5d423;
/* rgb */ color: rgb(197, 212, 35);
/* oklch */ color: oklch(83.1% 0.181 114.9);
Tailwind
colors: {
  custom: {
    50: '#dbe171',
    500: '#c5d423',
    950: '#000000',
  },
}
SCSS
$custom: #c5d423;
$custom-light: #dbe171;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d423",
  "rgb": {
    "r": 197,
    "g": 212,
    "b": 35
  },
  "hsl": {
    "h": 65.085,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.83073,
    "c": 0.18054,
    "h": 114.9
  },
  "luminance": 0.59079
}

Semantic roles & 50–950 ramp

primary
#C5D423
secondary
#2D2775
accent
#39EE49
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #C5D423

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

Preview Lab → · Contrast checker → · Palette generator →

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