#C4D951#C4D951

#C4D951 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.4% C 0.161 H 117.4°. Best body text is #000000 at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#C4D951
RGBrgb(196, 217, 81)
HSLhsl(69, 64%, 58%)
HSVhsv(69, 63%, 85%)
CMYKcmyk(9.7%, 0%, 62.7%, 14.9%)
CIE-LABlab(82.89, -25.16, 62.48)
CIE-LCHlch(82.89, 67.35, 111.93°)
OKLaboklab(84.38% -0.074 0.1425)
OKLCHoklch(84.38% 0.161 117.4)
XYZxyz(49.0639, 61.9561, 17.1570)
Luminance0.6196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4D951 #6651D9
analogous
#D9AA51 #C4D951 #80D951
triadic
#C4D951 #51C4D9 #D951C4
tetradic
#C4D951 #51D9AA #6651D9 #D95180
square
#C4D951 #51D9AA #6651D9 #D95180
split-complementary
#C4D951 #5180D9 #AA51D9
monochromatic
#7F901F #ABC22A #C4D951 #D5E483 #E6EFB5

Accessibility & contrast

On white

1.57
#C4D951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.39
#C4D951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4D951
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4D951#FFFFFF#000000##000000
##C4D9511.001.5713.3913.39
#FFFFFF1.571.0021.0021.00
#00000013.3921.001.001.00
##00000013.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE40
Deuteranopia (green-blind)
#E5CF5A
Tritanopia (blue-blind)
#CFCEBD
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c4d951;
/* rgb */ color: rgb(196, 217, 81);
/* oklch */ color: oklch(84.4% 0.161 117.4);
Tailwind
colors: {
  custom: {
    50: '#d9e488',
    500: '#c4d951',
    950: '#000000',
  },
}
SCSS
$custom: #c4d951;
$custom-light: #d9e488;
$custom-dark: #000000;
JSON
{
  "hex": "#c4d951",
  "rgb": {
    "r": 196,
    "g": 217,
    "b": 81
  },
  "hsl": {
    "h": 69.265,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.84384,
    "c": 0.16051,
    "h": 117.4
  },
  "luminance": 0.61956
}

Semantic roles & 50–950 ramp

primary
#C4D951
secondary
#473995
accent
#41E75A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C4D951

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

Preview Lab → · Contrast checker → · Palette generator →

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