#C5D751#C5D751

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

Color values

HEX#C5D751
RGBrgb(197, 215, 81)
HSLhsl(68, 63%, 58%)
HSVhsv(68, 62%, 84%)
CMYKcmyk(8.4%, 0%, 62.3%, 15.7%)
CIE-LABlab(82.41, -23.79, 61.99)
CIE-LCHlch(82.41, 66.40, 111.00°)
OKLaboklab(84.02% -0.0702 0.1414)
OKLCHoklch(84.02% 0.158 116.4)
XYZxyz(48.8126, 61.0659, 16.9985)
Luminance0.6107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D751 #6351D7
analogous
#D7A651 #C5D751 #82D751
triadic
#C5D751 #51C5D7 #D751C5
tetradic
#C5D751 #51D7A6 #6351D7 #D75182
square
#C5D751 #51D7A6 #6351D7 #D75182
split-complementary
#C5D751 #5182D7 #A651D7
monochromatic
#7F8D20 #ABBF2C #C5D751 #D6E283 #E6EEB5

Accessibility & contrast

On white

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

On black

13.21
#C5D751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D751
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D751#FFFFFF#000000##000000
##C5D7511.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5d751;
/* rgb */ color: rgb(197, 215, 81);
/* oklch */ color: oklch(84.0% 0.158 116.4);
Tailwind
colors: {
  custom: {
    50: '#d9e388',
    500: '#c5d751',
    950: '#000000',
  },
}
SCSS
$custom: #c5d751;
$custom-light: #d9e388;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d751",
  "rgb": {
    "r": 197,
    "g": 215,
    "b": 81
  },
  "hsl": {
    "h": 68.06,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.8402,
    "c": 0.15787,
    "h": 116.4
  },
  "luminance": 0.61065
}

Semantic roles & 50–950 ramp

primary
#C5D751
secondary
#453993
accent
#42E658
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C5D751

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

Preview Lab → · Contrast checker → · Palette generator →

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