#C5D336#C5D336

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

Color values

HEX#C5D336
RGBrgb(197, 211, 54)
HSLhsl(65, 64%, 52%)
HSVhsv(65, 74%, 83%)
CMYKcmyk(6.6%, 0%, 74.4%, 17.3%)
CIE-LABlab(81.14, -23.36, 70.67)
CIE-LCHlch(81.14, 74.43, 108.29°)
OKLaboklab(82.94% -0.0715 0.1555)
OKLCHoklch(82.94% 0.171 114.7)
XYZxyz(46.9874, 58.7261, 12.3493)
Luminance0.5873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D336 #4436D3
analogous
#D39236 #C5D336 #77D336
triadic
#C5D336 #36C5D3 #D336C5
tetradic
#C5D336 #36D392 #4436D3 #D33677
square
#C5D336 #36D392 #4436D3 #D33677
split-complementary
#C5D336 #3677D3 #9236D3
monochromatic
#6D751A #9CA725 #C5D336 #D3DE68 #E2E99A

Accessibility & contrast

On white

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

On black

12.75
#C5D336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D336
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D336#FFFFFF#000000##000000
##C5D3361.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C810
Deuteranopia (green-blind)
#E2CB44
Tritanopia (blue-blind)
#D2C7B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c5d336;
/* rgb */ color: rgb(197, 211, 54);
/* oklch */ color: oklch(82.9% 0.171 114.7);
Tailwind
colors: {
  custom: {
    50: '#dae079',
    500: '#c5d336',
    950: '#000000',
  },
}
SCSS
$custom: #c5d336;
$custom-light: #dae079;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d336",
  "rgb": {
    "r": 197,
    "g": 211,
    "b": 54
  },
  "hsl": {
    "h": 65.35,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.82942,
    "c": 0.17114,
    "h": 114.7
  },
  "luminance": 0.58725
}

Semantic roles & 50–950 ramp

primary
#C5D336
secondary
#37307D
accent
#41E750
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5D336

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

Preview Lab → · Contrast checker → · Palette generator →

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