#C5D752#C5D752

#C5D752 is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.0% C 0.157 H 116.4°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#C5D752
RGBrgb(197, 215, 82)
HSLhsl(68, 62%, 58%)
HSVhsv(68, 62%, 84%)
CMYKcmyk(8.4%, 0%, 61.9%, 15.7%)
CIE-LABlab(82.42, -23.72, 61.58)
CIE-LCHlch(82.42, 66.00, 111.07°)
OKLaboklab(84.03% -0.0699 0.1407)
OKLCHoklch(84.03% 0.157 116.4)
XYZxyz(48.8504, 61.0810, 17.1974)
Luminance0.6108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D752 #6452D7
analogous
#D7A652 #C5D752 #82D752
triadic
#C5D752 #52C5D7 #D752C5
tetradic
#C5D752 #52D7A6 #6452D7 #D75282
square
#C5D752 #52D7A6 #6452D7 #D75282
split-complementary
#C5D752 #5282D7 #A652D7
monochromatic
#7F8E21 #ACC02C #C5D752 #D6E284 #E6EEB5

Accessibility & contrast

On white

1.59
#C5D752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.22
#C5D752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D752
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D752#FFFFFF#000000##000000
##C5D7521.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC42
Deuteranopia (green-blind)
#E3CE5B
Tritanopia (blue-blind)
#D0CCBB
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c5d752;
/* rgb */ color: rgb(197, 215, 82);
/* oklch */ color: oklch(84.0% 0.157 116.4);
Tailwind
colors: {
  custom: {
    50: '#d9e388',
    500: '#c5d752',
    950: '#000000',
  },
}
SCSS
$custom: #c5d752;
$custom-light: #d9e388;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d752",
  "rgb": {
    "r": 197,
    "g": 215,
    "b": 82
  },
  "hsl": {
    "h": 68.12,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.8403,
    "c": 0.15709,
    "h": 116.4
  },
  "luminance": 0.6108
}

Semantic roles & 50–950 ramp

primary
#C5D752
secondary
#463A93
accent
#42E658
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C5D752

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

Preview Lab → · Contrast checker → · Palette generator →

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