#C5D23E#C5D23E

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

Color values

HEX#C5D23E
RGBrgb(197, 210, 62)
HSLhsl(65, 62%, 53%)
HSVhsv(65, 70%, 82%)
CMYKcmyk(6.2%, 0%, 70.5%, 17.6%)
CIE-LABlab(80.91, -22.50, 67.76)
CIE-LCHlch(80.91, 71.40, 108.37°)
OKLaboklab(82.77% -0.0684 0.1507)
OKLCHoklch(82.77% 0.165 114.4)
XYZxyz(46.9434, 58.3122, 13.3390)
Luminance0.5831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D23E #4B3ED2
analogous
#D2953E #C5D23E #7BD23E
triadic
#C5D23E #3EC5D2 #D23EC5
tetradic
#C5D23E #3ED295 #4B3ED2 #D23E7B
square
#C5D23E #3ED295 #4B3ED2 #D23E7B
split-complementary
#C5D23E #3E7BD2 #953ED2
monochromatic
#71791C #9FAB28 #C5D23E #D4DE70 #E3E9A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5D23E#FFFFFF#000000##000000
##C5D23E1.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)
#E1C824
Deuteranopia (green-blind)
#E0CA4A
Tritanopia (blue-blind)
#D2C6B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c5d23e;
/* rgb */ color: rgb(197, 210, 62);
/* oklch */ color: oklch(82.8% 0.165 114.4);
Tailwind
colors: {
  custom: {
    50: '#dadf7d',
    500: '#c5d23e',
    950: '#000000',
  },
}
SCSS
$custom: #c5d23e;
$custom-light: #dadf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d23e",
  "rgb": {
    "r": 197,
    "g": 210,
    "b": 62
  },
  "hsl": {
    "h": 65.27,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.82773,
    "c": 0.16549,
    "h": 114.4
  },
  "luminance": 0.58311
}

Semantic roles & 50–950 ramp

primary
#C5D23E
secondary
#3A3381
accent
#43E551
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5D23E

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

Preview Lab → · Contrast checker → · Palette generator →

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