#C8D258#C8D258

#C8D258 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.2% C 0.146 H 113.5°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#C8D258
RGBrgb(200, 210, 88)
HSLhsl(65, 58%, 58%)
HSVhsv(65, 58%, 82%)
CMYKcmyk(4.8%, 0%, 58.1%, 17.6%)
CIE-LABlab(81.33, -19.64, 57.91)
CIE-LCHlch(81.33, 61.15, 108.74°)
OKLaboklab(83.23% -0.058 0.1336)
OKLCHoklch(83.23% 0.146 113.5)
XYZxyz(48.6286, 59.0780, 18.0721)
Luminance0.5908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D258 #6258D2
analogous
#D29F58 #C8D258 #8BD258
triadic
#C8D258 #58C8D2 #D258C8
tetradic
#C8D258 #58D29F #6258D2 #D2588B
square
#C8D258 #58D29F #6258D2 #D2588B
split-complementary
#C8D258 #588BD2 #9F58D2
monochromatic
#828A25 #AFBB32 #C8D258 #D8DF88 #E8ECB8

Accessibility & contrast

On white

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

On black

12.82
#C8D258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D258
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D258#FFFFFF#000000##000000
##C8D2581.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94A
Deuteranopia (green-blind)
#E0CB5F
Tritanopia (blue-blind)
#D4C7B8
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c8d258;
/* rgb */ color: rgb(200, 210, 88);
/* oklch */ color: oklch(83.2% 0.146 113.5);
Tailwind
colors: {
  custom: {
    50: '#dbdf8c',
    500: '#c8d258',
    950: '#000000',
  },
}
SCSS
$custom: #c8d258;
$custom-light: #dbdf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d258",
  "rgb": {
    "r": 200,
    "g": 210,
    "b": 88
  },
  "hsl": {
    "h": 64.918,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.8323,
    "c": 0.14563,
    "h": 113.5
  },
  "luminance": 0.59077
}

Semantic roles & 50–950 ramp

primary
#C8D258
secondary
#443E91
accent
#47E154
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C8D258

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

Preview Lab → · Contrast checker → · Palette generator →

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