#C5D941#C5D941

#C5D941 is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 84.3% C 0.171 H 116.7°. Best body text is #000000 at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#C5D941
RGBrgb(197, 217, 65)
HSLhsl(68, 67%, 55%)
HSVhsv(68, 70%, 85%)
CMYKcmyk(9.2%, 0%, 70%, 14.9%)
CIE-LABlab(82.85, -25.72, 68.59)
CIE-LCHlch(82.85, 73.26, 110.55°)
OKLaboklab(84.33% -0.0771 0.1529)
OKLCHoklch(84.33% 0.171 116.7)
XYZxyz(48.7941, 61.8783, 14.3733)
Luminance0.6188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D941 #5541D9
analogous
#D9A141 #C5D941 #79D941
triadic
#C5D941 #41C5D9 #D941C5
tetradic
#C5D941 #41D9A1 #5541D9 #D94179
square
#C5D941 #41D9A1 #5541D9 #D94179
split-complementary
#C5D941 #4179D9 #A141D9
monochromatic
#77851B #A5B825 #C5D941 #D5E374 #E4EDA7

Accessibility & contrast

On white

1.57
#C5D941 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.38
#C5D941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D941
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D941#FFFFFF#000000##000000
##C5D9411.001.5713.3813.38
#FFFFFF1.571.0021.0021.00
#00000013.3821.001.001.00
##00000013.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE27
Deuteranopia (green-blind)
#E6CF4D
Tritanopia (blue-blind)
#D1CDBB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c5d941;
/* rgb */ color: rgb(197, 217, 65);
/* oklch */ color: oklch(84.3% 0.171 116.7);
Tailwind
colors: {
  custom: {
    50: '#dae47f',
    500: '#c5d941',
    950: '#000000',
  },
}
SCSS
$custom: #c5d941;
$custom-light: #dae47f;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d941",
  "rgb": {
    "r": 197,
    "g": 217,
    "b": 65
  },
  "hsl": {
    "h": 67.895,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.84333,
    "c": 0.17126,
    "h": 116.7
  },
  "luminance": 0.61878
}

Semantic roles & 50–950 ramp

primary
#C5D941
secondary
#3E338B
accent
#3EEA55
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5D941

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

Preview Lab → · Contrast checker → · Palette generator →

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