#C8D271#C8D271

#C8D271 is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.5% C 0.122 H 113.9°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#C8D271
RGBrgb(200, 210, 113)
HSLhsl(66, 52%, 63%)
HSVhsv(66, 46%, 82%)
CMYKcmyk(4.8%, 0%, 46.2%, 17.6%)
CIE-LABlab(81.60, -17.48, 46.65)
CIE-LCHlch(81.60, 49.81, 110.54°)
OKLaboklab(83.53% -0.0494 0.1116)
OKLCHoklch(83.53% 0.122 113.9)
XYZxyz(49.8473, 59.5655, 24.4910)
Luminance0.5957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D271 #7B71D2
analogous
#D2AC71 #C8D271 #97D271
triadic
#C8D271 #71C8D2 #D271C8
tetradic
#C8D271 #71D2AC #7B71D2 #D27197
square
#C8D271 #71D2AC #7B71D2 #D27197
split-complementary
#C8D271 #7197D2 #AC71D2
monochromatic
#8E9830 #B6C343 #C8D271 #DAE19F #ECEFCE

Accessibility & contrast

On white

1.63
#C8D271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#C8D271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D271
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D271#FFFFFF#000000##000000
##C8D2711.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECA69
Deuteranopia (green-blind)
#DECC76
Tritanopia (blue-blind)
#D2C8BB
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c8d271;
/* rgb */ color: rgb(200, 210, 113);
/* oklch */ color: oklch(83.5% 0.122 113.9);
Tailwind
colors: {
  custom: {
    50: '#dadf9c',
    500: '#c8d271',
    950: '#000000',
  },
}
SCSS
$custom: #c8d271;
$custom-light: #dadf9c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d271",
  "rgb": {
    "r": 200,
    "g": 210,
    "b": 113
  },
  "hsl": {
    "h": 66.186,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.8353,
    "c": 0.12204,
    "h": 113.9
  },
  "luminance": 0.59565
}

Semantic roles & 50–950 ramp

primary
#C8D271
secondary
#524A9E
accent
#26BF36
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C8D271

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

Preview Lab → · Contrast checker → · Palette generator →

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