#C5D74A#C5D74A

#C5D74A is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.0% C 0.163 H 116.3°. Best body text is #000000 at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#C5D74A
RGBrgb(197, 215, 74)
HSLhsl(68, 64%, 57%)
HSVhsv(68, 66%, 84%)
CMYKcmyk(8.4%, 0%, 65.6%, 15.7%)
CIE-LABlab(82.36, -24.24, 64.74)
CIE-LCHlch(82.36, 69.13, 110.53°)
OKLaboklab(83.96% -0.0722 0.1462)
OKLCHoklch(83.96% 0.163 116.3)
XYZxyz(48.5635, 60.9663, 15.6866)
Luminance0.6097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D74A #5C4AD7
analogous
#D7A34A #C5D74A #7ED74A
triadic
#C5D74A #4AC5D7 #D74AC5
tetradic
#C5D74A #4AD7A3 #5C4AD7 #D74A7E
square
#C5D74A #4AD7A3 #5C4AD7 #D74A7E
split-complementary
#C5D74A #4A7ED7 #A34AD7
monochromatic
#7B881E #A8BB29 #C5D74A #D5E27C #E5EDAE

Accessibility & contrast

On white

1.59
#C5D74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.19
#C5D74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D74A
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D74A#FFFFFF#000000##000000
##C5D74A1.001.5913.1913.19
#FFFFFF1.591.0021.0021.00
#00000013.1921.001.001.00
##00000013.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC36
Deuteranopia (green-blind)
#E4CE54
Tritanopia (blue-blind)
#D1CBBA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c5d74a;
/* rgb */ color: rgb(197, 215, 74);
/* oklch */ color: oklch(84.0% 0.163 116.3);
Tailwind
colors: {
  custom: {
    50: '#dae384',
    500: '#c5d74a',
    950: '#000000',
  },
}
SCSS
$custom: #c5d74a;
$custom-light: #dae384;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d74a",
  "rgb": {
    "r": 197,
    "g": 215,
    "b": 74
  },
  "hsl": {
    "h": 67.66,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.8396,
    "c": 0.16305,
    "h": 116.3
  },
  "luminance": 0.60966
}

Semantic roles & 50–950 ramp

primary
#C5D74A
secondary
#42378F
accent
#41E756
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5D74A

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

Preview Lab → · Contrast checker → · Palette generator →

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