#C5D54A#C5D54A

#C5D54A is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 83.5% C 0.161 H 115.6°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#C5D54A
RGBrgb(197, 213, 74)
HSLhsl(67, 62%, 56%)
HSVhsv(67, 65%, 84%)
CMYKcmyk(7.5%, 0%, 65.3%, 16.5%)
CIE-LABlab(81.81, -23.28, 64.17)
CIE-LCHlch(81.81, 68.27, 109.94°)
OKLaboklab(83.52% -0.0694 0.145)
OKLCHoklch(83.52% 0.161 115.6)
XYZxyz(48.0574, 59.9539, 15.5179)
Luminance0.5995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D54A #5A4AD5
analogous
#D5A04A #C5D54A #80D54A
triadic
#C5D54A #4AC5D5 #D54AC5
tetradic
#C5D54A #4AD5A0 #5A4AD5 #D54A80
square
#C5D54A #4AD5A0 #5A4AD5 #D54A80
split-complementary
#C5D54A #4A80D5 #A04AD5
monochromatic
#7A861F #A7B72B #C5D54A #D5E17C #E5ECAD

Accessibility & contrast

On white

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

On black

12.99
#C5D54A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D54A
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D54A#FFFFFF#000000##000000
##C5D54A1.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB37
Deuteranopia (green-blind)
#E2CC54
Tritanopia (blue-blind)
#D1C9B9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c5d54a;
/* rgb */ color: rgb(197, 213, 74);
/* oklch */ color: oklch(83.5% 0.161 115.6);
Tailwind
colors: {
  custom: {
    50: '#dae184',
    500: '#c5d54a',
    950: '#000000',
  },
}
SCSS
$custom: #c5d54a;
$custom-light: #dae184;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d54a",
  "rgb": {
    "r": 197,
    "g": 213,
    "b": 74
  },
  "hsl": {
    "h": 66.906,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.83521,
    "c": 0.16079,
    "h": 115.6
  },
  "luminance": 0.59953
}

Semantic roles & 50–950 ramp

primary
#C5D54A
secondary
#41378C
accent
#42E555
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5D54A

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

Preview Lab → · Contrast checker → · Palette generator →

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