#C5D142#C5D142

#C5D142 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.6% C 0.162 H 114.1°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#C5D142
RGBrgb(197, 209, 66)
HSLhsl(65, 61%, 54%)
HSVhsv(65, 68%, 82%)
CMYKcmyk(5.7%, 0%, 68.4%, 18%)
CIE-LABlab(80.66, -21.80, 66.06)
CIE-LCHlch(80.66, 69.57, 108.26°)
OKLaboklab(82.58% -0.0661 0.1478)
OKLCHoklch(82.58% 0.162 114.1)
XYZxyz(46.8111, 57.8655, 13.8564)
Luminance0.5786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D142 #4E42D1
analogous
#D19642 #C5D142 #7ED142
triadic
#C5D142 #42C5D1 #D142C5
tetradic
#C5D142 #42D196 #4E42D1 #D1427E
square
#C5D142 #42D196 #4E42D1 #D1427E
split-complementary
#C5D142 #427ED1 #9642D1
monochromatic
#737B1E #A1AC2A #C5D142 #D4DD73 #E3E9A4

Accessibility & contrast

On white

1.67
#C5D142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.57
#C5D142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D142
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D142#FFFFFF#000000##000000
##C5D1421.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C72B
Deuteranopia (green-blind)
#DFCA4D
Tritanopia (blue-blind)
#D2C5B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c5d142;
/* rgb */ color: rgb(197, 209, 66);
/* oklch */ color: oklch(82.6% 0.162 114.1);
Tailwind
colors: {
  custom: {
    50: '#dade7f',
    500: '#c5d142',
    950: '#000000',
  },
}
SCSS
$custom: #c5d142;
$custom-light: #dade7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d142",
  "rgb": {
    "r": 197,
    "g": 209,
    "b": 66
  },
  "hsl": {
    "h": 65.035,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.82582,
    "c": 0.16188,
    "h": 114.1
  },
  "luminance": 0.57865
}

Semantic roles & 50–950 ramp

primary
#C5D142
secondary
#3B3583
accent
#44E451
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5D142

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

Preview Lab → · Contrast checker → · Palette generator →

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