#C5D536#C5D536

#C5D536 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.4% C 0.173 H 115.3°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#C5D536
RGBrgb(197, 213, 54)
HSLhsl(66, 65%, 52%)
HSVhsv(66, 75%, 84%)
CMYKcmyk(7.5%, 0%, 74.6%, 16.5%)
CIE-LABlab(81.69, -24.32, 71.18)
CIE-LCHlch(81.69, 75.23, 108.87°)
OKLaboklab(83.38% -0.0742 0.1566)
OKLCHoklch(83.38% 0.173 115.3)
XYZxyz(47.4874, 59.7260, 12.5160)
Luminance0.5972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D536 #4636D5
analogous
#D59636 #C5D536 #75D536
triadic
#C5D536 #36C5D5 #D536C5
tetradic
#C5D536 #36D596 #4636D5 #D53675
square
#C5D536 #36D596 #4636D5 #D53675
split-complementary
#C5D536 #3675D5 #9636D5
monochromatic
#6E7819 #9DAA24 #C5D536 #D4E069 #E2EA9B

Accessibility & contrast

On white

1.62
#C5D536 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.94
#C5D536 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D536
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D536#FFFFFF#000000##000000
##C5D5361.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA0F
Deuteranopia (green-blind)
#E3CC44
Tritanopia (blue-blind)
#D2C9B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c5d536;
/* rgb */ color: rgb(197, 213, 54);
/* oklch */ color: oklch(83.4% 0.173 115.3);
Tailwind
colors: {
  custom: {
    50: '#dae179',
    500: '#c5d536',
    950: '#000000',
  },
}
SCSS
$custom: #c5d536;
$custom-light: #dae179;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d536",
  "rgb": {
    "r": 197,
    "g": 213,
    "b": 54
  },
  "hsl": {
    "h": 66.038,
    "s": 65.432,
    "l": 52.353
  },
  "oklch": {
    "l": 0.83382,
    "c": 0.17325,
    "h": 115.3
  },
  "luminance": 0.59725
}

Semantic roles & 50–950 ramp

primary
#C5D536
secondary
#382F80
accent
#3FE850
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5D536

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

Preview Lab → · Contrast checker → · Palette generator →

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