#C5D74F#C5D74F

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

Color values

HEX#C5D74F
RGBrgb(197, 215, 79)
HSLhsl(68, 63%, 58%)
HSVhsv(68, 63%, 84%)
CMYKcmyk(8.4%, 0%, 63.3%, 15.7%)
CIE-LABlab(82.40, -23.93, 62.79)
CIE-LCHlch(82.40, 67.19, 110.86°)
OKLaboklab(84% -0.0708 0.1428)
OKLCHoklch(84% 0.159 116.4)
XYZxyz(48.7387, 61.0363, 16.6093)
Luminance0.6104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D74F #614FD7
analogous
#D7A54F #C5D74F #81D74F
triadic
#C5D74F #4FC5D7 #D74FC5
tetradic
#C5D74F #4FD7A5 #614FD7 #D74F81
square
#C5D74F #4FD7A5 #614FD7 #D74F81
split-complementary
#C5D74F #4F81D7 #A54FD7
monochromatic
#7E8C20 #AABE2B #C5D74F #D5E281 #E6EEB3

Accessibility & contrast

On white

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

On black

13.21
#C5D74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D74F
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D74F#FFFFFF#000000##000000
##C5D74F1.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5d74f;
/* rgb */ color: rgb(197, 215, 79);
/* oklch */ color: oklch(84.0% 0.159 116.4);
Tailwind
colors: {
  custom: {
    50: '#d9e387',
    500: '#c5d74f',
    950: '#000000',
  },
}
SCSS
$custom: #c5d74f;
$custom-light: #d9e387;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d74f",
  "rgb": {
    "r": 197,
    "g": 215,
    "b": 79
  },
  "hsl": {
    "h": 67.941,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.84003,
    "c": 0.15939,
    "h": 116.4
  },
  "luminance": 0.61036
}

Semantic roles & 50–950 ramp

primary
#C5D74F
secondary
#443992
accent
#42E658
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C5D74F

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

Preview Lab → · Contrast checker → · Palette generator →

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