#C5D23F#C5D23F

#C5D23F 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#C5D23F
RGBrgb(197, 210, 63)
HSLhsl(65, 62%, 54%)
HSVhsv(65, 70%, 82%)
CMYKcmyk(6.2%, 0%, 70%, 17.6%)
CIE-LABlab(80.92, -22.44, 67.41)
CIE-LCHlch(80.92, 71.05, 108.42°)
OKLaboklab(82.78% -0.0682 0.1501)
OKLCHoklch(82.78% 0.165 114.4)
XYZxyz(46.9711, 58.3233, 13.4848)
Luminance0.5832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D23F #4C3FD2
analogous
#D2953F #C5D23F #7BD23F
triadic
#C5D23F #3FC5D2 #D23FC5
tetradic
#C5D23F #3FD295 #4C3FD2 #D23F7B
square
#C5D23F #3FD295 #4C3FD2 #D23F7B
split-complementary
#C5D23F #3F7BD2 #953FD2
monochromatic
#727A1D #A0AC28 #C5D23F #D4DE71 #E3E9A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #c5d23f;
/* rgb */ color: rgb(197, 210, 63);
/* oklch */ color: oklch(82.8% 0.165 114.4);
Tailwind
colors: {
  custom: {
    50: '#dadf7d',
    500: '#c5d23f',
    950: '#000000',
  },
}
SCSS
$custom: #c5d23f;
$custom-light: #dadf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d23f",
  "rgb": {
    "r": 197,
    "g": 210,
    "b": 63
  },
  "hsl": {
    "h": 65.306,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.8278,
    "c": 0.16486,
    "h": 114.4
  },
  "luminance": 0.58322
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5D23F

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

Preview Lab → · Contrast checker → · Palette generator →

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