#C8D387#C8D387

#C8D387 is a very light, moderate yellow. Relative luminance 0.606; OKLCH L 84.1% C 0.099 H 115.3°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#C8D387
RGBrgb(200, 211, 135)
HSLhsl(69, 46%, 68%)
HSVhsv(69, 36%, 83%)
CMYKcmyk(5.2%, 0%, 36%, 17.3%)
CIE-LABlab(82.17, -15.57, 36.42)
CIE-LCHlch(82.17, 39.61, 113.14°)
OKLaboklab(84.08% -0.0424 0.0897)
OKLCHoklch(84.08% 0.099 115.3)
XYZxyz(51.4870, 60.6177, 31.9050)
Luminance0.6062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D387 #9287D3
analogous
#D3B887 #C8D387 #A2D387
triadic
#C8D387 #87C8D3 #D387C8
tetradic
#C8D387 #87D3B8 #9287D3 #D387A2
square
#C8D387 #87D3B8 #9287D3 #D387A2
split-complementary
#C8D387 #87A2D3 #B887D3
monochromatic
#95A43C #B3C35A #C8D387 #DDE3B4 #F1F4E1

Accessibility & contrast

On white

1.60
#C8D387 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.12
#C8D387 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D387
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D387#FFFFFF#000000##000000
##C8D3871.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCC81
Deuteranopia (green-blind)
#DCCD8A
Tritanopia (blue-blind)
#D0CBC0
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #c8d387;
/* rgb */ color: rgb(200, 211, 135);
/* oklch */ color: oklch(84.1% 0.099 115.3);
Tailwind
colors: {
  custom: {
    50: '#d9e0ab',
    500: '#c8d387',
    950: '#000000',
  },
}
SCSS
$custom: #c8d387;
$custom-light: #d9e0ab;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d387",
  "rgb": {
    "r": 200,
    "g": 211,
    "b": 135
  },
  "hsl": {
    "h": 68.684,
    "s": 46.341,
    "l": 67.843
  },
  "oklch": {
    "l": 0.84084,
    "c": 0.09916,
    "h": 115.3
  },
  "luminance": 0.60617
}

Semantic roles & 50–950 ramp

primary
#C8D387
secondary
#6256A8
accent
#2CBA40
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #C8D387

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

Preview Lab → · Contrast checker → · Palette generator →

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