#C5D53B#C5D53B

#C5D53B is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.4% C 0.171 H 115.4°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#C5D53B
RGBrgb(197, 213, 59)
HSLhsl(66, 65%, 53%)
HSVhsv(66, 72%, 84%)
CMYKcmyk(7.5%, 0%, 72.3%, 16.5%)
CIE-LABlab(81.72, -24.10, 69.57)
CIE-LCHlch(81.72, 73.63, 109.10°)
OKLaboklab(83.41% -0.0731 0.154)
OKLCHoklch(83.41% 0.171 115.4)
XYZxyz(47.6109, 59.7754, 13.1665)
Luminance0.5978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D53B #4B3BD5
analogous
#D5983B #C5D53B #78D53B
triadic
#C5D53B #3BC5D5 #D53BC5
tetradic
#C5D53B #3BD598 #4B3BD5 #D53B78
square
#C5D53B #3BD598 #4B3BD5 #D53B78
split-complementary
#C5D53B #3B78D5 #983BD5
monochromatic
#717B1A #9FAE25 #C5D53B #D4E06D #E3EBA0

Accessibility & contrast

On white

1.62
#C5D53B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#C5D53B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D53B
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D53B#FFFFFF#000000##000000
##C5D53B1.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA1C
Deuteranopia (green-blind)
#E3CC48
Tritanopia (blue-blind)
#D2C9B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c5d53b;
/* rgb */ color: rgb(197, 213, 59);
/* oklch */ color: oklch(83.4% 0.171 115.4);
Tailwind
colors: {
  custom: {
    50: '#dae17c',
    500: '#c5d53b',
    950: '#000000',
  },
}
SCSS
$custom: #c5d53b;
$custom-light: #dae17c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d53b",
  "rgb": {
    "r": 197,
    "g": 213,
    "b": 59
  },
  "hsl": {
    "h": 66.234,
    "s": 64.706,
    "l": 53.333
  },
  "oklch": {
    "l": 0.83412,
    "c": 0.1705,
    "h": 115.4
  },
  "luminance": 0.59775
}

Semantic roles & 50–950 ramp

primary
#C5D53B
secondary
#3A3183
accent
#40E852
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5D53B

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

Preview Lab → · Contrast checker → · Palette generator →

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