#C5D348#C5D348

#C5D348 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.1% C 0.160 H 114.9°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#C5D348
RGBrgb(197, 211, 72)
HSLhsl(66, 61%, 55%)
HSVhsv(66, 66%, 83%)
CMYKcmyk(6.6%, 0%, 65.9%, 17.3%)
CIE-LABlab(81.25, -22.43, 64.38)
CIE-LCHlch(81.25, 68.17, 109.21°)
OKLaboklab(83.07% -0.0673 0.1452)
OKLCHoklch(83.07% 0.16 114.9)
XYZxyz(47.4911, 58.9275, 15.0020)
Luminance0.5893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D348 #5648D3
analogous
#D39B48 #C5D348 #7FD348
triadic
#C5D348 #48C5D3 #D348C5
tetradic
#C5D348 #48D39B #5648D3 #D3487F
square
#C5D348 #48D39B #5648D3 #D3487F
split-complementary
#C5D348 #487FD3 #9B48D3
monochromatic
#78811F #A5B32B #C5D348 #D5DF79 #E4EBAB

Accessibility & contrast

On white

1.64
#C5D348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#C5D348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D348
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D348#FFFFFF#000000##000000
##C5D3481.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C934
Deuteranopia (green-blind)
#E1CB52
Tritanopia (blue-blind)
#D1C7B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c5d348;
/* rgb */ color: rgb(197, 211, 72);
/* oklch */ color: oklch(83.1% 0.160 114.9);
Tailwind
colors: {
  custom: {
    50: '#dae082',
    500: '#c5d348',
    950: '#000000',
  },
}
SCSS
$custom: #c5d348;
$custom-light: #dae082;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d348",
  "rgb": {
    "r": 197,
    "g": 211,
    "b": 72
  },
  "hsl": {
    "h": 66.043,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.83066,
    "c": 0.15998,
    "h": 114.9
  },
  "luminance": 0.58927
}

Semantic roles & 50–950 ramp

primary
#C5D348
secondary
#3F3789
accent
#43E454
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5D348

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

Preview Lab → · Contrast checker → · Palette generator →

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