#C8D95A#C8D95A

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

Color values

HEX#C8D95A
RGBrgb(200, 217, 90)
HSLhsl(68, 63%, 60%)
HSVhsv(68, 59%, 85%)
CMYKcmyk(7.8%, 0%, 58.5%, 14.9%)
CIE-LABlab(83.25, -22.91, 59.16)
CIE-LCHlch(83.25, 63.45, 111.17°)
OKLaboklab(84.77% -0.067 0.1365)
OKLCHoklch(84.77% 0.152 116.1)
XYZxyz(50.4787, 62.6439, 19.1032)
Luminance0.6264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D95A #6B5AD9
analogous
#D9AA5A #C8D95A #89D95A
triadic
#C8D95A #5AC8D9 #D95AC8
tetradic
#C8D95A #5AD9AA #6B5AD9 #D95A89
square
#C8D95A #5AD9AA #6B5AD9 #D95A89
split-complementary
#C8D95A #5A89D9 #AA5AD9
monochromatic
#879623 #B3C82E #C8D95A #D9E48C #E9F0BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8D95A#FFFFFF#000000##000000
##C8D95A1.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)
#E7CF4C
Deuteranopia (green-blind)
#E5D062
Tritanopia (blue-blind)
#D3CEBE
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c8d95a;
/* rgb */ color: rgb(200, 217, 90);
/* oklch */ color: oklch(84.8% 0.152 116.1);
Tailwind
colors: {
  custom: {
    50: '#dbe48d',
    500: '#c8d95a',
    950: '#000000',
  },
}
SCSS
$custom: #c8d95a;
$custom-light: #dbe48d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d95a",
  "rgb": {
    "r": 200,
    "g": 217,
    "b": 90
  },
  "hsl": {
    "h": 68.031,
    "s": 62.562,
    "l": 60.196
  },
  "oklch": {
    "l": 0.84773,
    "c": 0.15206,
    "h": 116.1
  },
  "luminance": 0.62643
}

Semantic roles & 50–950 ramp

primary
#C8D95A
secondary
#493C9B
accent
#1BCA33
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C8D95A

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

Preview Lab → · Contrast checker → · Palette generator →

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