#C8D158#C8D158

#C8D158 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.0% C 0.144 H 113.1°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#C8D158
RGBrgb(200, 209, 88)
HSLhsl(64, 57%, 58%)
HSVhsv(64, 58%, 82%)
CMYKcmyk(4.3%, 0%, 57.9%, 18%)
CIE-LABlab(81.06, -19.15, 57.60)
CIE-LCHlch(81.06, 60.70, 108.39°)
OKLaboklab(83.01% -0.0566 0.1329)
OKLCHoklch(83.01% 0.145 113.1)
XYZxyz(48.3825, 58.5858, 17.9901)
Luminance0.5858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D158 #6158D1
analogous
#D19D58 #C8D158 #8BD158
triadic
#C8D158 #58C8D1 #D158C8
tetradic
#C8D158 #58D19D #6158D1 #D1588B
square
#C8D158 #58D19D #6158D1 #D1588B
split-complementary
#C8D158 #588BD1 #9D58D1
monochromatic
#828926 #AFB933 #C8D158 #D8DE88 #E8EBB8

Accessibility & contrast

On white

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

On black

12.72
#C8D158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D158
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D158#FFFFFF#000000##000000
##C8D1581.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84B
Deuteranopia (green-blind)
#DFCB5F
Tritanopia (blue-blind)
#D4C6B7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c8d158;
/* rgb */ color: rgb(200, 209, 88);
/* oklch */ color: oklch(83.0% 0.144 113.1);
Tailwind
colors: {
  custom: {
    50: '#dbdf8c',
    500: '#c8d158',
    950: '#000000',
  },
}
SCSS
$custom: #c8d158;
$custom-light: #dbdf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d158",
  "rgb": {
    "r": 200,
    "g": 209,
    "b": 88
  },
  "hsl": {
    "h": 64.463,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.83013,
    "c": 0.1445,
    "h": 113.1
  },
  "luminance": 0.58585
}

Semantic roles & 50–950 ramp

primary
#C8D158
secondary
#443E8F
accent
#48E053
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C8D158

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

Preview Lab → · Contrast checker → · Palette generator →

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