#C8D251#C8D251

#C8D251 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.2% C 0.151 H 113.4°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#C8D251
RGBrgb(200, 210, 81)
HSLhsl(65, 59%, 57%)
HSVhsv(65, 61%, 82%)
CMYKcmyk(4.8%, 0%, 61.4%, 17.6%)
CIE-LABlab(81.27, -20.14, 60.83)
CIE-LCHlch(81.27, 64.08, 108.32°)
OKLaboklab(83.16% -0.0601 0.1389)
OKLCHoklch(83.16% 0.151 113.4)
XYZxyz(48.3524, 58.9676, 16.6177)
Luminance0.5897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D251 #5B51D2
analogous
#D29C51 #C8D251 #88D251
triadic
#C8D251 #51C8D2 #D251C8
tetradic
#C8D251 #51D29C #5B51D2 #D25188
square
#C8D251 #51D29C #5B51D2 #D25188
split-complementary
#C8D251 #5188D2 #9C51D2
monochromatic
#7E8623 #ACB72F #C8D251 #D7DF82 #E7EBB2

Accessibility & contrast

On white

1.64
#C8D251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#C8D251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D251
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D251#FFFFFF#000000##000000
##C8D2511.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C941
Deuteranopia (green-blind)
#E0CB59
Tritanopia (blue-blind)
#D4C6B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c8d251;
/* rgb */ color: rgb(200, 210, 81);
/* oklch */ color: oklch(83.2% 0.151 113.4);
Tailwind
colors: {
  custom: {
    50: '#dbdf87',
    500: '#c8d251',
    950: '#000000',
  },
}
SCSS
$custom: #c8d251;
$custom-light: #dbdf87;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d251",
  "rgb": {
    "r": 200,
    "g": 210,
    "b": 81
  },
  "hsl": {
    "h": 64.651,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.83162,
    "c": 0.15135,
    "h": 113.4
  },
  "luminance": 0.58967
}

Semantic roles & 50–950 ramp

primary
#C8D251
secondary
#413B8D
accent
#46E252
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C8D251

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

Preview Lab → · Contrast checker → · Palette generator →

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