#C5D53F#C5D53F

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

Color values

HEX#C5D53F
RGBrgb(197, 213, 63)
HSLhsl(66, 64%, 54%)
HSVhsv(66, 70%, 84%)
CMYKcmyk(7.5%, 0%, 70.4%, 16.5%)
CIE-LABlab(81.74, -23.90, 68.21)
CIE-LCHlch(81.74, 72.28, 109.31°)
OKLaboklab(83.44% -0.0722 0.1518)
OKLCHoklch(83.44% 0.168 115.4)
XYZxyz(47.7187, 59.8185, 13.7340)
Luminance0.5982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D53F #4F3FD5
analogous
#D59A3F #C5D53F #7AD53F
triadic
#C5D53F #3FC5D5 #D53FC5
tetradic
#C5D53F #3FD59A #4F3FD5 #D53F7A
square
#C5D53F #3FD59A #4F3FD5 #D53F7A
split-complementary
#C5D53F #3F7AD5 #9A3FD5
monochromatic
#747E1C #A2B027 #C5D53F #D4E071 #E3EBA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5D53F#FFFFFF#000000##000000
##C5D53F1.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)
#E4CA25
Deuteranopia (green-blind)
#E3CC4B
Tritanopia (blue-blind)
#D2C9B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c5d53f;
/* rgb */ color: rgb(197, 213, 63);
/* oklch */ color: oklch(83.4% 0.168 115.4);
Tailwind
colors: {
  custom: {
    50: '#dae17e',
    500: '#c5d53f',
    950: '#000000',
  },
}
SCSS
$custom: #c5d53f;
$custom-light: #dae17e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d53f",
  "rgb": {
    "r": 197,
    "g": 213,
    "b": 63
  },
  "hsl": {
    "h": 66.4,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.83438,
    "c": 0.16811,
    "h": 115.4
  },
  "luminance": 0.59818
}

Semantic roles & 50–950 ramp

primary
#C5D53F
secondary
#3C3385
accent
#41E752
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5D53F

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

Preview Lab → · Contrast checker → · Palette generator →

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