#C8D958#C8D958

#C8D958 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 84.8% C 0.154 H 116.1°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#C8D958
RGBrgb(200, 217, 88)
HSLhsl(68, 63%, 60%)
HSVhsv(68, 59%, 85%)
CMYKcmyk(7.8%, 0%, 59.4%, 14.9%)
CIE-LABlab(83.24, -23.06, 60.00)
CIE-LCHlch(83.24, 64.28, 111.02°)
OKLaboklab(84.75% -0.0676 0.1381)
OKLCHoklch(84.75% 0.154 116.1)
XYZxyz(50.3947, 62.6103, 18.6609)
Luminance0.6261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D958 #6958D9
analogous
#D9AA58 #C8D958 #88D958
triadic
#C8D958 #58C8D9 #D958C8
tetradic
#C8D958 #58D9AA #6958D9 #D95888
square
#C8D958 #58D9AA #6958D9 #D95888
split-complementary
#C8D958 #5888D9 #AA58D9
monochromatic
#869522 #B2C72D #C8D958 #D8E48A #E9F0BC

Accessibility & contrast

On white

1.55
#C8D958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.52
#C8D958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D958
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D958#FFFFFF#000000##000000
##C8D9581.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF49
Deuteranopia (green-blind)
#E5D060
Tritanopia (blue-blind)
#D3CEBE
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c8d958;
/* rgb */ color: rgb(200, 217, 88);
/* oklch */ color: oklch(84.8% 0.154 116.1);
Tailwind
colors: {
  custom: {
    50: '#dbe48c',
    500: '#c8d958',
    950: '#000000',
  },
}
SCSS
$custom: #c8d958;
$custom-light: #dbe48c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d958",
  "rgb": {
    "r": 200,
    "g": 217,
    "b": 88
  },
  "hsl": {
    "h": 67.907,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.84753,
    "c": 0.15373,
    "h": 116.1
  },
  "luminance": 0.6261
}

Semantic roles & 50–950 ramp

primary
#C8D958
secondary
#483C9A
accent
#42E657
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C8D958

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

Preview Lab → · Contrast checker → · Palette generator →

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