#C5D738#C5D738

#C5D738 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 83.8% C 0.174 H 116.0°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#C5D738
RGBrgb(197, 215, 56)
HSLhsl(67, 67%, 53%)
HSVhsv(67, 74%, 84%)
CMYKcmyk(8.4%, 0%, 74%, 15.7%)
CIE-LABlab(82.25, -25.20, 71.07)
CIE-LCHlch(82.25, 75.40, 109.52°)
OKLaboklab(83.83% -0.0764 0.1567)
OKLCHoklch(83.83% 0.174 116)
XYZxyz(48.0415, 60.7574, 12.9372)
Luminance0.6076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D738 #4A38D7
analogous
#D79938 #C5D738 #76D738
triadic
#C5D738 #38C5D7 #D738C5
tetradic
#C5D738 #38D799 #4A38D7 #D73876
square
#C5D738 #38D799 #4A38D7 #D73876
split-complementary
#C5D738 #3876D7 #9938D7
monochromatic
#717C19 #9FAF23 #C5D738 #D4E16B #E3EB9E

Accessibility & contrast

On white

1.60
#C5D738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.15
#C5D738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D738
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D738#FFFFFF#000000##000000
##C5D7381.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC13
Deuteranopia (green-blind)
#E5CE46
Tritanopia (blue-blind)
#D2CBB9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c5d738;
/* rgb */ color: rgb(197, 215, 56);
/* oklch */ color: oklch(83.8% 0.174 116.0);
Tailwind
colors: {
  custom: {
    50: '#dae37a',
    500: '#c5d738',
    950: '#000000',
  },
}
SCSS
$custom: #c5d738;
$custom-light: #dae37a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d738",
  "rgb": {
    "r": 197,
    "g": 215,
    "b": 56
  },
  "hsl": {
    "h": 66.792,
    "s": 66.527,
    "l": 53.137
  },
  "oklch": {
    "l": 0.83834,
    "c": 0.17431,
    "h": 116
  },
  "luminance": 0.60757
}

Semantic roles & 50–950 ramp

primary
#C5D738
secondary
#393083
accent
#3EE952
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5D738

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

Preview Lab → · Contrast checker → · Palette generator →

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