#C8D371#C8D371

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

Color values

HEX#C8D371
RGBrgb(200, 211, 113)
HSLhsl(67, 53%, 64%)
HSVhsv(67, 46%, 83%)
CMYKcmyk(5.2%, 0%, 46.4%, 17.3%)
CIE-LABlab(81.87, -17.98, 46.98)
CIE-LCHlch(81.87, 50.30, 110.94°)
OKLaboklab(83.75% -0.0508 0.1123)
OKLCHoklch(83.75% 0.123 114.4)
XYZxyz(50.0950, 60.0608, 24.5735)
Luminance0.6006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D371 #7C71D3
analogous
#D3AD71 #C8D371 #97D371
triadic
#C8D371 #71C8D3 #D371C8
tetradic
#C8D371 #71D3AD #7C71D3 #D37197
square
#C8D371 #71D3AD #7C71D3 #D37197
split-complementary
#C8D371 #7197D3 #AD71D3
monochromatic
#8E9A30 #B6C542 #C8D371 #DAE1A0 #ECF0CE

Accessibility & contrast

On white

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

On black

13.01
#C8D371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D371
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D371#FFFFFF#000000##000000
##C8D3711.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8d371;
/* rgb */ color: rgb(200, 211, 113);
/* oklch */ color: oklch(83.7% 0.123 114.4);
Tailwind
colors: {
  custom: {
    50: '#dae09c',
    500: '#c8d371',
    950: '#000000',
  },
}
SCSS
$custom: #c8d371;
$custom-light: #dae09c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d371",
  "rgb": {
    "r": 200,
    "g": 211,
    "b": 113
  },
  "hsl": {
    "h": 66.735,
    "s": 52.688,
    "l": 63.529
  },
  "oklch": {
    "l": 0.83745,
    "c": 0.12329,
    "h": 114.4
  },
  "luminance": 0.6006
}

Semantic roles & 50–950 ramp

primary
#C8D371
secondary
#53499F
accent
#25C037
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C8D371

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

Preview Lab → · Contrast checker → · Palette generator →

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