#C5D548#C5D548

#C5D548 is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 83.5% C 0.162 H 115.6°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#C5D548
RGBrgb(197, 213, 72)
HSLhsl(67, 63%, 56%)
HSVhsv(67, 66%, 84%)
CMYKcmyk(7.5%, 0%, 66.2%, 16.5%)
CIE-LABlab(81.80, -23.40, 64.94)
CIE-LCHlch(81.80, 69.03, 109.81°)
OKLaboklab(83.51% -0.07 0.1463)
OKLCHoklch(83.51% 0.162 115.6)
XYZxyz(47.9911, 59.9274, 15.1687)
Luminance0.5993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D548 #5848D5
analogous
#D59F48 #C5D548 #7ED548
triadic
#C5D548 #48C5D5 #D548C5
tetradic
#C5D548 #48D59F #5848D5 #D5487E
square
#C5D548 #48D59F #5848D5 #D5487E
split-complementary
#C5D548 #487ED5 #9F48D5
monochromatic
#79841E #A6B62A #C5D548 #D5E07A #E5ECAC

Accessibility & contrast

On white

1.62
#C5D548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.99
#C5D548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D548
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D548#FFFFFF#000000##000000
##C5D5481.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA34
Deuteranopia (green-blind)
#E2CC52
Tritanopia (blue-blind)
#D1C9B9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c5d548;
/* rgb */ color: rgb(197, 213, 72);
/* oklch */ color: oklch(83.5% 0.162 115.6);
Tailwind
colors: {
  custom: {
    50: '#dae182',
    500: '#c5d548',
    950: '#000000',
  },
}
SCSS
$custom: #c5d548;
$custom-light: #dae182;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d548",
  "rgb": {
    "r": 197,
    "g": 213,
    "b": 72
  },
  "hsl": {
    "h": 66.809,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.83505,
    "c": 0.1622,
    "h": 115.6
  },
  "luminance": 0.59927
}

Semantic roles & 50–950 ramp

primary
#C5D548
secondary
#40368B
accent
#42E655
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5D548

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

Preview Lab → · Contrast checker → · Palette generator →

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