#C4D152#C4D152

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

Color values

HEX#C4D152
RGBrgb(196, 209, 82)
HSLhsl(66, 58%, 57%)
HSVhsv(66, 61%, 82%)
CMYKcmyk(6.2%, 0%, 60.8%, 18%)
CIE-LABlab(80.71, -21.21, 59.71)
CIE-LCHlch(80.71, 63.37, 109.56°)
OKLaboklab(82.64% -0.0628 0.1368)
OKLCHoklch(82.64% 0.15 114.7)
XYZxyz(47.0895, 57.9467, 16.6852)
Luminance0.5795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4D152 #5F52D1
analogous
#D19F52 #C4D152 #84D152
triadic
#C4D152 #52C4D1 #D152C4
tetradic
#C4D152 #52D19F #5F52D1 #D15284
square
#C4D152 #52D19F #5F52D1 #D15284
split-complementary
#C4D152 #5284D1 #9F52D1
monochromatic
#7B8523 #A8B630 #C4D152 #D4DE82 #E5EBB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4D152#FFFFFF#000000##000000
##C4D1521.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)
#DFC743
Deuteranopia (green-blind)
#DECA5A
Tritanopia (blue-blind)
#D0C6B6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c4d152;
/* rgb */ color: rgb(196, 209, 82);
/* oklch */ color: oklch(82.6% 0.150 114.7);
Tailwind
colors: {
  custom: {
    50: '#d9df88',
    500: '#c4d152',
    950: '#000000',
  },
}
SCSS
$custom: #c4d152;
$custom-light: #d9df88;
$custom-dark: #000000;
JSON
{
  "hex": "#c4d152",
  "rgb": {
    "r": 196,
    "g": 209,
    "b": 82
  },
  "hsl": {
    "h": 66.142,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.82638,
    "c": 0.15048,
    "h": 114.7
  },
  "luminance": 0.57946
}

Semantic roles & 50–950 ramp

primary
#C4D152
secondary
#433B8C
accent
#47E156
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C4D152

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

Preview Lab → · Contrast checker → · Palette generator →

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