#C8D254#C8D254

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

Color values

HEX#C8D254
RGBrgb(200, 210, 84)
HSLhsl(65, 58%, 58%)
HSVhsv(65, 60%, 82%)
CMYKcmyk(4.8%, 0%, 60%, 17.6%)
CIE-LABlab(81.30, -19.93, 59.59)
CIE-LCHlch(81.30, 62.84, 108.49°)
OKLaboklab(83.19% -0.0592 0.1367)
OKLCHoklch(83.19% 0.149 113.4)
XYZxyz(48.4674, 59.0135, 17.2233)
Luminance0.5901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D254 #5E54D2
analogous
#D29D54 #C8D254 #89D254
triadic
#C8D254 #54C8D2 #D254C8
tetradic
#C8D254 #54D29D #5E54D2 #D25489
square
#C8D254 #54D29D #5E54D2 #D25489
split-complementary
#C8D254 #5489D2 #9D54D2
monochromatic
#808824 #AEB831 #C8D254 #D8DF84 #E7EBB5

Accessibility & contrast

On white

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

On black

12.80
#C8D254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D254
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D254#FFFFFF#000000##000000
##C8D2541.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8d254;
/* rgb */ color: rgb(200, 210, 84);
/* oklch */ color: oklch(83.2% 0.149 113.4);
Tailwind
colors: {
  custom: {
    50: '#dbdf89',
    500: '#c8d254',
    950: '#000000',
  },
}
SCSS
$custom: #c8d254;
$custom-light: #dbdf89;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d254",
  "rgb": {
    "r": 200,
    "g": 210,
    "b": 84
  },
  "hsl": {
    "h": 64.762,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.8319,
    "c": 0.14896,
    "h": 113.4
  },
  "luminance": 0.59013
}

Semantic roles & 50–950 ramp

primary
#C8D254
secondary
#423C8E
accent
#46E253
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C8D254

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

Preview Lab → · Contrast checker → · Palette generator →

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