#C5DD38#C5DD38

#C5DD38 is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.2% C 0.181 H 117.8°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#C5DD38
RGBrgb(197, 221, 56)
HSLhsl(69, 71%, 54%)
HSVhsv(69, 75%, 87%)
CMYKcmyk(10.9%, 0%, 74.7%, 13.3%)
CIE-LABlab(83.90, -28.05, 72.62)
CIE-LCHlch(83.90, 77.85, 111.12°)
OKLaboklab(85.16% -0.0843 0.1599)
OKLCHoklch(85.16% 0.181 117.8)
XYZxyz(49.5974, 63.8693, 13.4558)
Luminance0.6387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5DD38 #5038DD
analogous
#DDA238 #C5DD38 #73DD38
triadic
#C5DD38 #38C5DD #DD38C5
tetradic
#C5DD38 #38DDA2 #5038DD #DD3873
square
#C5DD38 #38DDA2 #5038DD #DD3873
split-complementary
#C5DD38 #3873DD #A238DD
monochromatic
#748417 #A2B81F #C5DD38 #D4E66C #E3EFA1

Accessibility & contrast

On white

1.52
#C5DD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.77
#C5DD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5DD38
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5DD38#FFFFFF#000000##000000
##C5DD381.001.5213.7713.77
#FFFFFF1.521.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD10F
Deuteranopia (green-blind)
#E9D247
Tritanopia (blue-blind)
#D1D1BE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #c5dd38;
/* rgb */ color: rgb(197, 221, 56);
/* oklch */ color: oklch(85.2% 0.181 117.8);
Tailwind
colors: {
  custom: {
    50: '#dae77b',
    500: '#c5dd38',
    950: '#000000',
  },
}
SCSS
$custom: #c5dd38;
$custom-light: #dae77b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5dd38",
  "rgb": {
    "r": 197,
    "g": 221,
    "b": 56
  },
  "hsl": {
    "h": 68.727,
    "s": 70.815,
    "l": 54.314
  },
  "oklch": {
    "l": 0.8516,
    "c": 0.1808,
    "h": 117.8
  },
  "luminance": 0.63869
}

Semantic roles & 50–950 ramp

primary
#C5DD38
secondary
#3C2F8B
accent
#3AEE54
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15160A
muted
#84847D

Preview Lab

Preview with #C5DD38

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

Preview Lab → · Contrast checker → · Palette generator →

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