#C5D335#C5D335

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

Color values

HEX#C5D335
RGBrgb(197, 211, 53)
HSLhsl(65, 64%, 52%)
HSVhsv(65, 75%, 83%)
CMYKcmyk(6.6%, 0%, 74.9%, 17.3%)
CIE-LABlab(81.14, -23.40, 70.99)
CIE-LCHlch(81.14, 74.74, 108.25°)
OKLaboklab(82.94% -0.0717 0.156)
OKLCHoklch(82.94% 0.172 114.7)
XYZxyz(46.9642, 58.7168, 12.2269)
Luminance0.5872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D335 #4335D3
analogous
#D39235 #C5D335 #76D335
triadic
#C5D335 #35C5D3 #D335C5
tetradic
#C5D335 #35D392 #4335D3 #D33576
square
#C5D335 #35D392 #4335D3 #D33576
split-complementary
#C5D335 #3576D3 #9235D3
monochromatic
#6C7419 #9BA724 #C5D335 #D3DE67 #E2E99A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5D335#FFFFFF#000000##000000
##C5D3351.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)
#E2C80D
Deuteranopia (green-blind)
#E2CB43
Tritanopia (blue-blind)
#D2C6B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c5d335;
/* rgb */ color: rgb(197, 211, 53);
/* oklch */ color: oklch(82.9% 0.172 114.7);
Tailwind
colors: {
  custom: {
    50: '#dae078',
    500: '#c5d335',
    950: '#000000',
  },
}
SCSS
$custom: #c5d335;
$custom-light: #dae078;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d335",
  "rgb": {
    "r": 197,
    "g": 211,
    "b": 53
  },
  "hsl": {
    "h": 65.316,
    "s": 64.228,
    "l": 51.765
  },
  "oklch": {
    "l": 0.82936,
    "c": 0.17167,
    "h": 114.7
  },
  "luminance": 0.58716
}

Semantic roles & 50–950 ramp

primary
#C5D335
secondary
#362F7D
accent
#41E74F
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5D335

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

Preview Lab → · Contrast checker → · Palette generator →

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