#C8D351#C8D351

#C8D351 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.4% C 0.152 H 113.8°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#C8D351
RGBrgb(200, 211, 81)
HSLhsl(65, 60%, 57%)
HSVhsv(65, 62%, 83%)
CMYKcmyk(5.2%, 0%, 61.6%, 17.3%)
CIE-LABlab(81.55, -20.63, 61.12)
CIE-LCHlch(81.55, 64.51, 108.65°)
OKLaboklab(83.38% -0.0615 0.1395)
OKLCHoklch(83.38% 0.152 113.8)
XYZxyz(48.6001, 59.4629, 16.7003)
Luminance0.5946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D351 #5C51D3
analogous
#D39D51 #C8D351 #87D351
triadic
#C8D351 #51C8D3 #D351C8
tetradic
#C8D351 #51D39D #5C51D3 #D35187
square
#C8D351 #51D39D #5C51D3 #D35187
split-complementary
#C8D351 #5187D3 #9D51D3
monochromatic
#7F8722 #ADB82F #C8D351 #D7DF82 #E7ECB3

Accessibility & contrast

On white

1.63
#C8D351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.89
#C8D351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D351
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D351#FFFFFF#000000##000000
##C8D3511.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C941
Deuteranopia (green-blind)
#E1CC59
Tritanopia (blue-blind)
#D4C7B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c8d351;
/* rgb */ color: rgb(200, 211, 81);
/* oklch */ color: oklch(83.4% 0.152 113.8);
Tailwind
colors: {
  custom: {
    50: '#dbe087',
    500: '#c8d351',
    950: '#000000',
  },
}
SCSS
$custom: #c8d351;
$custom-light: #dbe087;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d351",
  "rgb": {
    "r": 200,
    "g": 211,
    "b": 81
  },
  "hsl": {
    "h": 65.077,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.83379,
    "c": 0.15247,
    "h": 113.8
  },
  "luminance": 0.59462
}

Semantic roles & 50–950 ramp

primary
#C8D351
secondary
#413A8E
accent
#45E352
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C8D351

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

Preview Lab → · Contrast checker → · Palette generator →

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