#C8D270#C8D270

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

Color values

HEX#C8D270
RGBrgb(200, 210, 112)
HSLhsl(66, 52%, 63%)
HSVhsv(66, 47%, 82%)
CMYKcmyk(4.8%, 0%, 46.7%, 17.6%)
CIE-LABlab(81.59, -17.58, 47.12)
CIE-LCHlch(81.59, 50.29, 110.46°)
OKLaboklab(83.52% -0.0498 0.1126)
OKLCHoklch(83.52% 0.123 113.9)
XYZxyz(49.7913, 59.5431, 24.1961)
Luminance0.5954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D270 #7A70D2
analogous
#D2AB70 #C8D270 #97D270
triadic
#C8D270 #70C8D2 #D270C8
tetradic
#C8D270 #70D2AB #7A70D2 #D27097
square
#C8D270 #70D2AB #7A70D2 #D27097
split-complementary
#C8D270 #7097D2 #AB70D2
monochromatic
#8D9830 #B6C341 #C8D270 #DAE19F #ECEFCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8D270#FFFFFF#000000##000000
##C8D2701.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)
#DECA68
Deuteranopia (green-blind)
#DECC75
Tritanopia (blue-blind)
#D2C8BB
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c8d270;
/* rgb */ color: rgb(200, 210, 112);
/* oklch */ color: oklch(83.5% 0.123 113.9);
Tailwind
colors: {
  custom: {
    50: '#dadf9b',
    500: '#c8d270',
    950: '#000000',
  },
}
SCSS
$custom: #c8d270;
$custom-light: #dadf9b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d270",
  "rgb": {
    "r": 200,
    "g": 210,
    "b": 112
  },
  "hsl": {
    "h": 66.122,
    "s": 52.128,
    "l": 63.137
  },
  "oklch": {
    "l": 0.83516,
    "c": 0.12308,
    "h": 113.9
  },
  "luminance": 0.59542
}

Semantic roles & 50–950 ramp

primary
#C8D270
secondary
#52499D
accent
#26C036
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C8D270

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

Preview Lab → · Contrast checker → · Palette generator →

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