#C8D372#C8D372

#C8D372 is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 83.8% C 0.122 H 114.4°. Best body text is #000000 at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#C8D372
RGBrgb(200, 211, 114)
HSLhsl(67, 52%, 64%)
HSVhsv(67, 46%, 83%)
CMYKcmyk(5.2%, 0%, 46%, 17.3%)
CIE-LABlab(81.88, -17.88, 46.51)
CIE-LCHlch(81.88, 49.82, 111.03°)
OKLaboklab(83.76% -0.0505 0.1113)
OKLCHoklch(83.76% 0.122 114.4)
XYZxyz(50.1516, 60.0835, 24.8716)
Luminance0.6008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D372 #7D72D3
analogous
#D3AD72 #C8D372 #97D372
triadic
#C8D372 #72C8D3 #D372C8
tetradic
#C8D372 #72D3AD #7D72D3 #D37297
square
#C8D372 #72D3AD #7D72D3 #D37297
split-complementary
#C8D372 #7297D3 #AD72D3
monochromatic
#8E9A30 #B6C443 #C8D372 #DAE2A1 #ECF0CF

Accessibility & contrast

On white

1.61
#C8D372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.02
#C8D372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D372
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D372#FFFFFF#000000##000000
##C8D3721.001.6113.0213.02
#FFFFFF1.611.0021.0021.00
#00000013.0221.001.001.00
##00000013.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCB6A
Deuteranopia (green-blind)
#DFCD77
Tritanopia (blue-blind)
#D2C9BC
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #c8d372;
/* rgb */ color: rgb(200, 211, 114);
/* oklch */ color: oklch(83.8% 0.122 114.4);
Tailwind
colors: {
  custom: {
    50: '#dae09c',
    500: '#c8d372',
    950: '#000000',
  },
}
SCSS
$custom: #c8d372;
$custom-light: #dae09c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d372",
  "rgb": {
    "r": 200,
    "g": 211,
    "b": 114
  },
  "hsl": {
    "h": 66.804,
    "s": 52.432,
    "l": 63.725
  },
  "oklch": {
    "l": 0.83759,
    "c": 0.12225,
    "h": 114.4
  },
  "luminance": 0.60083
}

Semantic roles & 50–950 ramp

primary
#C8D372
secondary
#544A9F
accent
#26C037
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C8D372

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

Preview Lab → · Contrast checker → · Palette generator →

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