#C4D151#C4D151

#C4D151 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.6% C 0.151 H 114.7°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#C4D151
RGBrgb(196, 209, 81)
HSLhsl(66, 58%, 57%)
HSVhsv(66, 61%, 82%)
CMYKcmyk(6.2%, 0%, 61.2%, 18%)
CIE-LABlab(80.70, -21.28, 60.13)
CIE-LCHlch(80.70, 63.78, 109.49°)
OKLaboklab(82.63% -0.0631 0.1375)
OKLCHoklch(82.63% 0.151 114.7)
XYZxyz(47.0517, 57.9315, 16.4863)
Luminance0.5793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4D151 #5E51D1
analogous
#D19E51 #C4D151 #84D151
triadic
#C4D151 #51C4D1 #D151C4
tetradic
#C4D151 #51D19E #5E51D1 #D15184
square
#C4D151 #51D19E #5E51D1 #D15184
split-complementary
#C4D151 #5184D1 #9E51D1
monochromatic
#7B8523 #A7B530 #C4D151 #D4DE81 #E5EBB2

Accessibility & contrast

On white

1.67
#C4D151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#C4D151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4D151
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4D151#FFFFFF#000000##000000
##C4D1511.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC742
Deuteranopia (green-blind)
#DEC959
Tritanopia (blue-blind)
#D0C6B6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c4d151;
/* rgb */ color: rgb(196, 209, 81);
/* oklch */ color: oklch(82.6% 0.151 114.7);
Tailwind
colors: {
  custom: {
    50: '#d9df87',
    500: '#c4d151',
    950: '#000000',
  },
}
SCSS
$custom: #c4d151;
$custom-light: #d9df87;
$custom-dark: #000000;
JSON
{
  "hex": "#c4d151",
  "rgb": {
    "r": 196,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 66.094,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82629,
    "c": 0.15128,
    "h": 114.7
  },
  "luminance": 0.57931
}

Semantic roles & 50–950 ramp

primary
#C4D151
secondary
#433B8B
accent
#46E156
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C4D151

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

Preview Lab → · Contrast checker → · Palette generator →

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