#C5D94A#C5D94A

#C5D94A is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.4% C 0.165 H 116.9°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#C5D94A
RGBrgb(197, 217, 74)
HSLhsl(68, 65%, 57%)
HSVhsv(68, 66%, 85%)
CMYKcmyk(9.2%, 0%, 65.9%, 14.9%)
CIE-LABlab(82.91, -25.21, 65.31)
CIE-LCHlch(82.91, 70.00, 111.10°)
OKLaboklab(84.4% -0.0748 0.1474)
OKLCHoklch(84.4% 0.165 116.9)
XYZxyz(49.0759, 61.9910, 15.8574)
Luminance0.6199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D94A #5E4AD9
analogous
#D9A64A #C5D94A #7DD94A
triadic
#C5D94A #4AC5D9 #D94AC5
tetradic
#C5D94A #4AD9A6 #5E4AD9 #D94A7D
square
#C5D94A #4AD9A6 #5E4AD9 #D94A7D
split-complementary
#C5D94A #4A7DD9 #A64AD9
monochromatic
#7C8B1D #A9BE28 #C5D94A #D5E47D #E5EEAF

Accessibility & contrast

On white

1.57
#C5D94A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#C5D94A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D94A
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D94A#FFFFFF#000000##000000
##C5D94A1.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE36
Deuteranopia (green-blind)
#E5CF54
Tritanopia (blue-blind)
#D1CDBC
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c5d94a;
/* rgb */ color: rgb(197, 217, 74);
/* oklch */ color: oklch(84.4% 0.165 116.9);
Tailwind
colors: {
  custom: {
    50: '#dae484',
    500: '#c5d94a',
    950: '#000000',
  },
}
SCSS
$custom: #c5d94a;
$custom-light: #dae484;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d94a",
  "rgb": {
    "r": 197,
    "g": 217,
    "b": 74
  },
  "hsl": {
    "h": 68.392,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.844,
    "c": 0.16532,
    "h": 116.9
  },
  "luminance": 0.6199
}

Semantic roles & 50–950 ramp

primary
#C5D94A
secondary
#433691
accent
#40E857
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5D94A

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

Preview Lab → · Contrast checker → · Palette generator →

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