#C8D152#C8D152

#C8D152 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.0% C 0.149 H 113.0°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#C8D152
RGBrgb(200, 209, 82)
HSLhsl(64, 58%, 57%)
HSVhsv(64, 61%, 82%)
CMYKcmyk(4.3%, 0%, 60.8%, 18%)
CIE-LABlab(81.01, -19.58, 60.13)
CIE-LCHlch(81.01, 63.24, 108.04°)
OKLaboklab(82.95% -0.0584 0.1375)
OKLCHoklch(82.95% 0.149 113)
XYZxyz(48.1441, 58.4904, 16.7346)
Luminance0.5849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D152 #5B52D1
analogous
#D19B52 #C8D152 #89D152
triadic
#C8D152 #52C8D1 #D152C8
tetradic
#C8D152 #52D19B #5B52D1 #D15289
square
#C8D152 #52D19B #5B52D1 #D15289
split-complementary
#C8D152 #5289D1 #9B52D1
monochromatic
#7E8523 #ACB630 #C8D152 #D7DE82 #E7EBB3

Accessibility & contrast

On white

1.65
#C8D152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.70
#C8D152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D152
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D152#FFFFFF#000000##000000
##C8D1521.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C843
Deuteranopia (green-blind)
#E0CB5A
Tritanopia (blue-blind)
#D4C5B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c8d152;
/* rgb */ color: rgb(200, 209, 82);
/* oklch */ color: oklch(83.0% 0.149 113.0);
Tailwind
colors: {
  custom: {
    50: '#dbdf88',
    500: '#c8d152',
    950: '#000000',
  },
}
SCSS
$custom: #c8d152;
$custom-light: #dbdf88;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d152",
  "rgb": {
    "r": 200,
    "g": 209,
    "b": 82
  },
  "hsl": {
    "h": 64.252,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.82954,
    "c": 0.14944,
    "h": 113
  },
  "luminance": 0.58489
}

Semantic roles & 50–950 ramp

primary
#C8D152
secondary
#413B8C
accent
#47E152
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C8D152

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

Preview Lab → · Contrast checker → · Palette generator →

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