#C5D332#C5D332

#C5D332 is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 82.9% C 0.173 H 114.7°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#C5D332
RGBrgb(197, 211, 50)
HSLhsl(65, 65%, 51%)
HSVhsv(65, 76%, 83%)
CMYKcmyk(6.6%, 0%, 76.3%, 17.3%)
CIE-LABlab(81.12, -23.53, 71.90)
CIE-LCHlch(81.12, 75.65, 108.12°)
OKLaboklab(82.92% -0.0723 0.1574)
OKLCHoklch(82.92% 0.173 114.7)
XYZxyz(46.8973, 58.6900, 11.8748)
Luminance0.5869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D332 #4032D3
analogous
#D39032 #C5D332 #74D332
triadic
#C5D332 #32C5D3 #D332C5
tetradic
#C5D332 #32D390 #4032D3 #D33274
square
#C5D332 #32D390 #4032D3 #D33274
split-complementary
#C5D332 #3274D3 #9032D3
monochromatic
#6A7218 #99A423 #C5D332 #D3DE64 #E2E997

Accessibility & contrast

On white

1.65
#C5D332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#C5D332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D332
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D332#FFFFFF#000000##000000
##C5D3321.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C800
Deuteranopia (green-blind)
#E2CB41
Tritanopia (blue-blind)
#D2C6B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c5d332;
/* rgb */ color: rgb(197, 211, 50);
/* oklch */ color: oklch(82.9% 0.173 114.7);
Tailwind
colors: {
  custom: {
    50: '#dae077',
    500: '#c5d332',
    950: '#000000',
  },
}
SCSS
$custom: #c5d332;
$custom-light: #dae077;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d332",
  "rgb": {
    "r": 197,
    "g": 211,
    "b": 50
  },
  "hsl": {
    "h": 65.217,
    "s": 64.659,
    "l": 51.176
  },
  "oklch": {
    "l": 0.8292,
    "c": 0.17319,
    "h": 114.7
  },
  "luminance": 0.58689
}

Semantic roles & 50–950 ramp

primary
#C5D332
secondary
#352E7B
accent
#40E84F
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5D332

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

Preview Lab → · Contrast checker → · Palette generator →

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