#C5D330#C5D330

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

Color values

HEX#C5D330
RGBrgb(197, 211, 48)
HSLhsl(65, 65%, 51%)
HSVhsv(65, 77%, 83%)
CMYKcmyk(6.6%, 0%, 77.3%, 17.3%)
CIE-LABlab(81.11, -23.60, 72.48)
CIE-LCHlch(81.11, 76.23, 108.04°)
OKLaboklab(82.91% -0.0727 0.1583)
OKLCHoklch(82.91% 0.174 114.7)
XYZxyz(46.8551, 58.6731, 11.6525)
Luminance0.5867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D330 #3E30D3
analogous
#D38F30 #C5D330 #74D330
triadic
#C5D330 #30C5D3 #D330C5
tetradic
#C5D330 #30D38F #3E30D3 #D33074
square
#C5D330 #30D38F #3E30D3 #D33074
split-complementary
#C5D330 #3074D3 #8F30D3
monochromatic
#697118 #98A323 #C5D330 #D3DE62 #E1E895

Accessibility & contrast

On white

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

On black

12.73
#C5D330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D330
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D330#FFFFFF#000000##000000
##C5D3301.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5d330;
/* rgb */ color: rgb(197, 211, 48);
/* oklch */ color: oklch(82.9% 0.174 114.7);
Tailwind
colors: {
  custom: {
    50: '#dbe076',
    500: '#c5d330',
    950: '#000000',
  },
}
SCSS
$custom: #c5d330;
$custom-light: #dbe076;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d330",
  "rgb": {
    "r": 197,
    "g": 211,
    "b": 48
  },
  "hsl": {
    "h": 65.153,
    "s": 64.94,
    "l": 50.784
  },
  "oklch": {
    "l": 0.82909,
    "c": 0.17417,
    "h": 114.7
  },
  "luminance": 0.58672
}

Semantic roles & 50–950 ramp

primary
#C5D330
secondary
#342E7A
accent
#40E84E
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C5D330

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

Preview Lab → · Contrast checker → · Palette generator →

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