#C4D052#C4D052

#C4D052 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.4% C 0.149 H 114.3°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#C4D052
RGBrgb(196, 208, 82)
HSLhsl(66, 57%, 57%)
HSVhsv(66, 61%, 82%)
CMYKcmyk(5.8%, 0%, 60.6%, 18.4%)
CIE-LABlab(80.44, -20.72, 59.42)
CIE-LCHlch(80.44, 62.93, 109.23°)
OKLaboklab(82.42% -0.0614 0.1361)
OKLCHoklch(82.42% 0.149 114.3)
XYZxyz(46.8449, 57.4575, 16.6037)
Luminance0.5746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4D052 #5E52D0
analogous
#D09D52 #C4D052 #85D052
triadic
#C4D052 #52C4D0 #D052C4
tetradic
#C4D052 #52D09D #5E52D0 #D05285
square
#C4D052 #52D09D #5E52D0 #D05285
split-complementary
#C4D052 #5285D0 #9D52D0
monochromatic
#7B8424 #A7B431 #C4D052 #D4DD82 #E5EAB2

Accessibility & contrast

On white

1.68
#C4D052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#C4D052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4D052
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4D052#FFFFFF#000000##000000
##C4D0521.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC643
Deuteranopia (green-blind)
#DDC95A
Tritanopia (blue-blind)
#D0C5B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c4d052;
/* rgb */ color: rgb(196, 208, 82);
/* oklch */ color: oklch(82.4% 0.149 114.3);
Tailwind
colors: {
  custom: {
    50: '#d9de88',
    500: '#c4d052',
    950: '#000000',
  },
}
SCSS
$custom: #c4d052;
$custom-light: #d9de88;
$custom-dark: #000000;
JSON
{
  "hex": "#c4d052",
  "rgb": {
    "r": 196,
    "g": 208,
    "b": 82
  },
  "hsl": {
    "h": 65.714,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.8242,
    "c": 0.14934,
    "h": 114.3
  },
  "luminance": 0.57457
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C4D052

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

Preview Lab → · Contrast checker → · Palette generator →

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