#C8D381#C8D381

#C8D381 is a very light, moderate yellow. Relative luminance 0.605; OKLCH L 84.0% C 0.106 H 115.0°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#C8D381
RGBrgb(200, 211, 129)
HSLhsl(68, 48%, 67%)
HSVhsv(68, 39%, 83%)
CMYKcmyk(5.2%, 0%, 38.9%, 17.3%)
CIE-LABlab(82.08, -16.27, 39.34)
CIE-LCHlch(82.08, 42.57, 112.47°)
OKLaboklab(83.98% -0.0447 0.0961)
OKLCHoklch(83.98% 0.106 115)
XYZxyz(51.0765, 60.4534, 29.7426)
Luminance0.6045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D381 #8C81D3
analogous
#D3B581 #C8D381 #9FD381
triadic
#C8D381 #81C8D3 #D381C8
tetradic
#C8D381 #81D3B5 #8C81D3 #D3819F
square
#C8D381 #81D3B5 #8C81D3 #D3819F
split-complementary
#C8D381 #819FD3 #B581D3
monochromatic
#93A138 #B4C354 #C8D381 #DCE3AE #F0F3DC

Accessibility & contrast

On white

1.60
#C8D381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#C8D381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D381
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D381#FFFFFF#000000##000000
##C8D3811.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECB7B
Deuteranopia (green-blind)
#DDCD85
Tritanopia (blue-blind)
#D1CABF
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #c8d381;
/* rgb */ color: rgb(200, 211, 129);
/* oklch */ color: oklch(84.0% 0.106 115.0);
Tailwind
colors: {
  custom: {
    50: '#dae0a6',
    500: '#c8d381',
    950: '#000000',
  },
}
SCSS
$custom: #c8d381;
$custom-light: #dae0a6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d381",
  "rgb": {
    "r": 200,
    "g": 211,
    "b": 129
  },
  "hsl": {
    "h": 68.049,
    "s": 48.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.83984,
    "c": 0.10601,
    "h": 115
  },
  "luminance": 0.60453
}

Semantic roles & 50–950 ramp

primary
#C8D381
secondary
#5D52A6
accent
#2ABC3E
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #C8D381

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

Preview Lab → · Contrast checker → · Palette generator →

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