#C5D74C#C5D74C

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

Color values

HEX#C5D74C
RGBrgb(197, 215, 76)
HSLhsl(68, 63%, 57%)
HSVhsv(68, 65%, 84%)
CMYKcmyk(8.4%, 0%, 64.7%, 15.7%)
CIE-LABlab(82.38, -24.12, 63.97)
CIE-LCHlch(82.38, 68.37, 110.66°)
OKLaboklab(83.98% -0.0716 0.1449)
OKLCHoklch(83.98% 0.162 116.3)
XYZxyz(48.6320, 60.9936, 16.0471)
Luminance0.6099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D74C #5E4CD7
analogous
#D7A44C #C5D74C #80D74C
triadic
#C5D74C #4CC5D7 #D74CC5
tetradic
#C5D74C #4CD7A4 #5E4CD7 #D74C80
square
#C5D74C #4CD7A4 #5E4CD7 #D74C80
split-complementary
#C5D74C #4C80D7 #A44CD7
monochromatic
#7C8A1F #A9BC2A #C5D74C #D5E27E #E5EDB0

Accessibility & contrast

On white

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

On black

13.20
#C5D74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D74C
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D74C#FFFFFF#000000##000000
##C5D74C1.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC39
Deuteranopia (green-blind)
#E4CE56
Tritanopia (blue-blind)
#D1CBBB
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c5d74c;
/* rgb */ color: rgb(197, 215, 76);
/* oklch */ color: oklch(84.0% 0.162 116.3);
Tailwind
colors: {
  custom: {
    50: '#dae385',
    500: '#c5d74c',
    950: '#000000',
  },
}
SCSS
$custom: #c5d74c;
$custom-light: #dae385;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d74c",
  "rgb": {
    "r": 197,
    "g": 215,
    "b": 76
  },
  "hsl": {
    "h": 67.77,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.83977,
    "c": 0.16161,
    "h": 116.3
  },
  "luminance": 0.60993
}

Semantic roles & 50–950 ramp

primary
#C5D74C
secondary
#433790
accent
#41E657
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5D74C

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

Preview Lab → · Contrast checker → · Palette generator →

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