#C8D332#C8D332

#C8D332 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.2% C 0.172 H 113.6°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#C8D332
RGBrgb(200, 211, 50)
HSLhsl(64, 65%, 51%)
HSVhsv(64, 76%, 83%)
CMYKcmyk(5.2%, 0%, 76.3%, 17.3%)
CIE-LABlab(81.35, -22.28, 72.18)
CIE-LCHlch(81.35, 75.54, 107.15°)
OKLaboklab(83.16% -0.069 0.1579)
OKLCHoklch(83.16% 0.172 113.6)
XYZxyz(47.6909, 59.0992, 11.9120)
Luminance0.5910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D332 #3D32D3
analogous
#D38D32 #C8D332 #77D332
triadic
#C8D332 #32C8D3 #D332C8
tetradic
#C8D332 #32D38D #3D32D3 #D33277
square
#C8D332 #32D38D #3D32D3 #D33277
split-complementary
#C8D332 #3277D3 #8D32D3
monochromatic
#6C7218 #9CA423 #C8D332 #D6DE64 #E3E997

Accessibility & contrast

On white

1.64
#C8D332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#C8D332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D332
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D332#FFFFFF#000000##000000
##C8D3321.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C900
Deuteranopia (green-blind)
#E3CC40
Tritanopia (blue-blind)
#D6C6B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c8d332;
/* rgb */ color: rgb(200, 211, 50);
/* oklch */ color: oklch(83.2% 0.172 113.6);
Tailwind
colors: {
  custom: {
    50: '#dde077',
    500: '#c8d332',
    950: '#000000',
  },
}
SCSS
$custom: #c8d332;
$custom-light: #dde077;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d332",
  "rgb": {
    "r": 200,
    "g": 211,
    "b": 50
  },
  "hsl": {
    "h": 64.099,
    "s": 64.659,
    "l": 51.176
  },
  "oklch": {
    "l": 0.83156,
    "c": 0.17231,
    "h": 113.6
  },
  "luminance": 0.59098
}

Semantic roles & 50–950 ramp

primary
#C8D332
secondary
#342E7B
accent
#40E84C
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#16150A
muted
#84847D

Preview Lab

Preview with #C8D332

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

Preview Lab → · Contrast checker → · Palette generator →

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