#C5D937#C5D937

#C5D937 is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.3% C 0.177 H 116.6°. Best body text is #000000 at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#C5D937
RGBrgb(197, 217, 55)
HSLhsl(67, 68%, 53%)
HSVhsv(67, 75%, 85%)
CMYKcmyk(9.2%, 0%, 74.7%, 14.9%)
CIE-LABlab(82.79, -26.20, 71.90)
CIE-LCHlch(82.79, 76.52, 110.02°)
OKLaboklab(84.27% -0.0793 0.1583)
OKLCHoklch(84.27% 0.177 116.6)
XYZxyz(48.5297, 61.7725, 12.9805)
Luminance0.6177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D937 #4B37D9
analogous
#D99C37 #C5D937 #74D937
triadic
#C5D937 #37C5D9 #D937C5
tetradic
#C5D937 #37D99C #4B37D9 #D93774
square
#C5D937 #37D99C #4B37D9 #D93774
split-complementary
#C5D937 #3774D9 #9C37D9
monochromatic
#717E18 #9FB122 #C5D937 #D4E36A #E3ED9E

Accessibility & contrast

On white

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

On black

13.35
#C5D937 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D937
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D937#FFFFFF#000000##000000
##C5D9371.001.5713.3513.35
#FFFFFF1.571.0021.0021.00
#00000013.3521.001.001.00
##00000013.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5d937;
/* rgb */ color: rgb(197, 217, 55);
/* oklch */ color: oklch(84.3% 0.177 116.6);
Tailwind
colors: {
  custom: {
    50: '#dae47a',
    500: '#c5d937',
    950: '#000000',
  },
}
SCSS
$custom: #c5d937;
$custom-light: #dae47a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d937",
  "rgb": {
    "r": 197,
    "g": 217,
    "b": 55
  },
  "hsl": {
    "h": 67.407,
    "s": 68.067,
    "l": 53.333
  },
  "oklch": {
    "l": 0.8427,
    "c": 0.17699,
    "h": 116.6
  },
  "luminance": 0.61772
}

Semantic roles & 50–950 ramp

primary
#C5D937
secondary
#3A2F85
accent
#3DEB52
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5D937

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

Preview Lab → · Contrast checker → · Palette generator →

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