#C5D248#C5D248

#C5D248 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 82.8% C 0.159 H 114.5°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#C5D248
RGBrgb(197, 210, 72)
HSLhsl(66, 61%, 55%)
HSVhsv(66, 66%, 82%)
CMYKcmyk(6.2%, 0%, 65.7%, 17.6%)
CIE-LABlab(80.98, -21.94, 64.10)
CIE-LCHlch(80.98, 67.75, 108.90°)
OKLaboklab(82.85% -0.0659 0.1446)
OKLCHoklch(82.85% 0.159 114.5)
XYZxyz(47.2435, 58.4322, 14.9195)
Luminance0.5843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D248 #5548D2
analogous
#D29A48 #C5D248 #80D248
triadic
#C5D248 #48C5D2 #D248C5
tetradic
#C5D248 #48D29A #5548D2 #D24880
square
#C5D248 #48D29A #5548D2 #D24880
split-complementary
#C5D248 #4880D2 #9A48D2
monochromatic
#778020 #A5B12C #C5D248 #D5DE79 #E4EAAA

Accessibility & contrast

On white

1.66
#C5D248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.69
#C5D248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D248
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D248#FFFFFF#000000##000000
##C5D2481.001.6612.6912.69
#FFFFFF1.661.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C835
Deuteranopia (green-blind)
#E0CA52
Tritanopia (blue-blind)
#D1C6B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c5d248;
/* rgb */ color: rgb(197, 210, 72);
/* oklch */ color: oklch(82.8% 0.159 114.5);
Tailwind
colors: {
  custom: {
    50: '#dadf82',
    500: '#c5d248',
    950: '#000000',
  },
}
SCSS
$custom: #c5d248;
$custom-light: #dadf82;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d248",
  "rgb": {
    "r": 197,
    "g": 210,
    "b": 72
  },
  "hsl": {
    "h": 65.652,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.82847,
    "c": 0.15888,
    "h": 114.5
  },
  "luminance": 0.58431
}

Semantic roles & 50–950 ramp

primary
#C5D248
secondary
#3E3787
accent
#44E453
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5D248

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

Preview Lab → · Contrast checker → · Palette generator →

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