#C8D452#C8D452

#C8D452 is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 83.6% C 0.153 H 114.2°. Best body text is #000000 at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#C8D452
RGBrgb(200, 212, 82)
HSLhsl(66, 60%, 58%)
HSVhsv(66, 61%, 83%)
CMYKcmyk(5.7%, 0%, 61.3%, 16.9%)
CIE-LABlab(81.83, -21.05, 61.01)
CIE-LCHlch(81.83, 64.54, 109.04°)
OKLaboklab(83.61% -0.0626 0.1394)
OKLCHoklch(83.61% 0.153 114.2)
XYZxyz(48.8870, 59.9764, 16.9823)
Luminance0.5998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D452 #5E52D4
analogous
#D49F52 #C8D452 #87D452
triadic
#C8D452 #52C8D4 #D452C8
tetradic
#C8D452 #52D49F #5E52D4 #D45287
square
#C8D452 #52D49F #5E52D4 #D45287
split-complementary
#C8D452 #5287D4 #9F52D4
monochromatic
#808922 #AEBA2E #C8D452 #D8E083 #E7ECB4

Accessibility & contrast

On white

1.62
#C8D452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.00
#C8D452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D452
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D452#FFFFFF#000000##000000
##C8D4521.001.6213.0013.00
#FFFFFF1.621.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA42
Deuteranopia (green-blind)
#E2CD5A
Tritanopia (blue-blind)
#D4C8B9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c8d452;
/* rgb */ color: rgb(200, 212, 82);
/* oklch */ color: oklch(83.6% 0.153 114.2);
Tailwind
colors: {
  custom: {
    50: '#dbe188',
    500: '#c8d452',
    950: '#000000',
  },
}
SCSS
$custom: #c8d452;
$custom-light: #dbe188;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d452",
  "rgb": {
    "r": 200,
    "g": 212,
    "b": 82
  },
  "hsl": {
    "h": 65.538,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.83606,
    "c": 0.15281,
    "h": 114.2
  },
  "luminance": 0.59976
}

Semantic roles & 50–950 ramp

primary
#C8D452
secondary
#423B90
accent
#44E353
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C8D452

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

Preview Lab → · Contrast checker → · Palette generator →

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