#C8D151#C8D151

#C8D151 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 82.9% C 0.150 H 113.0°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#C8D151
RGBrgb(200, 209, 81)
HSLhsl(64, 58%, 57%)
HSVhsv(64, 61%, 82%)
CMYKcmyk(4.3%, 0%, 61.2%, 18%)
CIE-LABlab(81.00, -19.65, 60.54)
CIE-LCHlch(81.00, 63.65, 107.98°)
OKLaboklab(82.95% -0.0587 0.1383)
OKLCHoklch(82.95% 0.15 113)
XYZxyz(48.1063, 58.4753, 16.5357)
Luminance0.5847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D151 #5A51D1
analogous
#D19A51 #C8D151 #88D151
triadic
#C8D151 #51C8D1 #D151C8
tetradic
#C8D151 #51D19A #5A51D1 #D15188
square
#C8D151 #51D19A #5A51D1 #D15188
split-complementary
#C8D151 #5188D1 #9A51D1
monochromatic
#7E8523 #ACB530 #C8D151 #D7DE81 #E7EBB2

Accessibility & contrast

On white

1.65
#C8D151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.69
#C8D151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D151
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D151#FFFFFF#000000##000000
##C8D1511.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C841
Deuteranopia (green-blind)
#E0CB59
Tritanopia (blue-blind)
#D4C5B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c8d151;
/* rgb */ color: rgb(200, 209, 81);
/* oklch */ color: oklch(82.9% 0.150 113.0);
Tailwind
colors: {
  custom: {
    50: '#dbde87',
    500: '#c8d151',
    950: '#000000',
  },
}
SCSS
$custom: #c8d151;
$custom-light: #dbde87;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d151",
  "rgb": {
    "r": 200,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 64.219,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82945,
    "c": 0.15024,
    "h": 113
  },
  "luminance": 0.58474
}

Semantic roles & 50–950 ramp

primary
#C8D151
secondary
#403B8B
accent
#46E151
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C8D151

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

Preview Lab → · Contrast checker → · Palette generator →

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