#C5D742#C5D742

#C5D742 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 83.9% C 0.168 H 116.1°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#C5D742
RGBrgb(197, 215, 66)
HSLhsl(67, 65%, 55%)
HSVhsv(67, 69%, 84%)
CMYKcmyk(8.4%, 0%, 69.3%, 15.7%)
CIE-LABlab(82.31, -24.70, 67.70)
CIE-LCHlch(82.31, 72.07, 110.05°)
OKLaboklab(83.9% -0.0742 0.1512)
OKLCHoklch(83.9% 0.168 116.1)
XYZxyz(48.3109, 60.8652, 14.3564)
Luminance0.6087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D742 #5442D7
analogous
#D79E42 #C5D742 #7BD742
triadic
#C5D742 #42C5D7 #D742C5
tetradic
#C5D742 #42D79E #5442D7 #D7427B
square
#C5D742 #42D79E #5442D7 #D7427B
split-complementary
#C5D742 #427BD7 #9E42D7
monochromatic
#76831C #A4B526 #C5D742 #D5E275 #E4ECA7

Accessibility & contrast

On white

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

On black

13.17
#C5D742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D742
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D742#FFFFFF#000000##000000
##C5D7421.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5d742;
/* rgb */ color: rgb(197, 215, 66);
/* oklch */ color: oklch(83.9% 0.168 116.1);
Tailwind
colors: {
  custom: {
    50: '#dae37f',
    500: '#c5d742',
    950: '#000000',
  },
}
SCSS
$custom: #c5d742;
$custom-light: #dae37f;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d742",
  "rgb": {
    "r": 197,
    "g": 215,
    "b": 66
  },
  "hsl": {
    "h": 67.248,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.83899,
    "c": 0.16843,
    "h": 116.1
  },
  "luminance": 0.60865
}

Semantic roles & 50–950 ramp

primary
#C5D742
secondary
#3E348A
accent
#40E854
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5D742

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

Preview Lab → · Contrast checker → · Palette generator →

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