#C8D95B#C8D95B

#C8D95B is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 84.8% C 0.151 H 116.2°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#C8D95B
RGBrgb(200, 217, 91)
HSLhsl(68, 62%, 60%)
HSVhsv(68, 58%, 85%)
CMYKcmyk(7.8%, 0%, 58.1%, 14.9%)
CIE-LABlab(83.26, -22.84, 58.74)
CIE-LCHlch(83.26, 63.02, 111.24°)
OKLaboklab(84.78% -0.0667 0.1357)
OKLCHoklch(84.78% 0.151 116.2)
XYZxyz(50.5215, 62.6610, 19.3288)
Luminance0.6266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D95B #6C5BD9
analogous
#D9AB5B #C8D95B #89D95B
triadic
#C8D95B #5BC8D9 #D95BC8
tetradic
#C8D95B #5BD9AB #6C5BD9 #D95B89
square
#C8D95B #5BD9AB #6C5BD9 #D95B89
split-complementary
#C8D95B #5B89D9 #AB5BD9
monochromatic
#879723 #B4C82E #C8D95B #D9E58D #E9F0BE

Accessibility & contrast

On white

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

On black

13.53
#C8D95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D95B
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D95B#FFFFFF#000000##000000
##C8D95B1.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8d95b;
/* rgb */ color: rgb(200, 217, 91);
/* oklch */ color: oklch(84.8% 0.151 116.2);
Tailwind
colors: {
  custom: {
    50: '#dbe48e',
    500: '#c8d95b',
    950: '#000000',
  },
}
SCSS
$custom: #c8d95b;
$custom-light: #dbe48e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d95b",
  "rgb": {
    "r": 200,
    "g": 217,
    "b": 91
  },
  "hsl": {
    "h": 68.095,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.84783,
    "c": 0.15122,
    "h": 116.2
  },
  "luminance": 0.6266
}

Semantic roles & 50–950 ramp

primary
#C8D95B
secondary
#4A3D9B
accent
#1BCA33
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C8D95B

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

Preview Lab → · Contrast checker → · Palette generator →

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