#C5D23C#C5D23C

#C5D23C 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#C5D23C
RGBrgb(197, 210, 60)
HSLhsl(65, 63%, 53%)
HSVhsv(65, 71%, 82%)
CMYKcmyk(6.2%, 0%, 71.4%, 17.6%)
CIE-LABlab(80.90, -22.60, 68.45)
CIE-LCHlch(80.90, 72.08, 108.27°)
OKLaboklab(82.76% -0.0689 0.1518)
OKLCHoklch(82.76% 0.167 114.4)
XYZxyz(46.8895, 58.2906, 13.0552)
Luminance0.5829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D23C #493CD2
analogous
#D2943C #C5D23C #7AD23C
triadic
#C5D23C #3CC5D2 #D23CC5
tetradic
#C5D23C #3CD294 #493CD2 #D23C7A
square
#C5D23C #3CD294 #493CD2 #D23C7A
split-complementary
#C5D23C #3C7AD2 #943CD2
monochromatic
#70781C #9EAA27 #C5D23C #D4DD6E #E3E99F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5D23C#FFFFFF#000000##000000
##C5D23C1.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)
#E1C820
Deuteranopia (green-blind)
#E1CA48
Tritanopia (blue-blind)
#D2C6B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c5d23c;
/* rgb */ color: rgb(197, 210, 60);
/* oklch */ color: oklch(82.8% 0.167 114.4);
Tailwind
colors: {
  custom: {
    50: '#dadf7c',
    500: '#c5d23c',
    950: '#000000',
  },
}
SCSS
$custom: #c5d23c;
$custom-light: #dadf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d23c",
  "rgb": {
    "r": 197,
    "g": 210,
    "b": 60
  },
  "hsl": {
    "h": 65.2,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.82759,
    "c": 0.1667,
    "h": 114.4
  },
  "luminance": 0.5829
}

Semantic roles & 50–950 ramp

primary
#C5D23C
secondary
#393280
accent
#42E650
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5D23C

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

Preview Lab → · Contrast checker → · Palette generator →

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