#C5D23B#C5D23B

#C5D23B is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 82.8% C 0.167 H 114.4°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#C5D23B
RGBrgb(197, 210, 59)
HSLhsl(65, 63%, 53%)
HSVhsv(65, 72%, 82%)
CMYKcmyk(6.2%, 0%, 71.9%, 17.6%)
CIE-LABlab(80.89, -22.64, 68.79)
CIE-LCHlch(80.89, 72.42, 108.22°)
OKLaboklab(82.75% -0.0691 0.1524)
OKLCHoklch(82.75% 0.167 114.4)
XYZxyz(46.8633, 58.2802, 12.9173)
Luminance0.5828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D23B #483BD2
analogous
#D2943B #C5D23B #79D23B
triadic
#C5D23B #3BC5D2 #D23BC5
tetradic
#C5D23B #3BD294 #483BD2 #D23B79
square
#C5D23B #3BD294 #483BD2 #D23B79
split-complementary
#C5D23B #3B79D2 #943BD2
monochromatic
#6F771B #9EA927 #C5D23B #D4DD6D #E2E99F

Accessibility & contrast

On white

1.66
#C5D23B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#C5D23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D23B
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D23B#FFFFFF#000000##000000
##C5D23B1.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C81E
Deuteranopia (green-blind)
#E1CA47
Tritanopia (blue-blind)
#D2C6B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c5d23b;
/* rgb */ color: rgb(197, 210, 59);
/* oklch */ color: oklch(82.8% 0.167 114.4);
Tailwind
colors: {
  custom: {
    50: '#dadf7b',
    500: '#c5d23b',
    950: '#000000',
  },
}
SCSS
$custom: #c5d23b;
$custom-light: #dadf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d23b",
  "rgb": {
    "r": 197,
    "g": 210,
    "b": 59
  },
  "hsl": {
    "h": 65.166,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.82753,
    "c": 0.16728,
    "h": 114.4
  },
  "luminance": 0.58279
}

Semantic roles & 50–950 ramp

primary
#C5D23B
secondary
#38327F
accent
#42E650
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5D23B

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

Preview Lab → · Contrast checker → · Palette generator →

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