#C8D272#C8D272

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

Color values

HEX#C8D272
RGBrgb(200, 210, 114)
HSLhsl(66, 52%, 64%)
HSVhsv(66, 46%, 82%)
CMYKcmyk(4.8%, 0%, 45.7%, 17.6%)
CIE-LABlab(81.61, -17.38, 46.18)
CIE-LCHlch(81.61, 49.34, 110.63°)
OKLaboklab(83.54% -0.0491 0.1106)
OKLCHoklch(83.54% 0.121 113.9)
XYZxyz(49.9039, 59.5882, 24.7891)
Luminance0.5959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D272 #7C72D2
analogous
#D2AC72 #C8D272 #98D272
triadic
#C8D272 #72C8D2 #D272C8
tetradic
#C8D272 #72D2AC #7C72D2 #D27298
square
#C8D272 #72D2AC #7C72D2 #D27298
split-complementary
#C8D272 #7298D2 #AC72D2
monochromatic
#8E9931 #B6C344 #C8D272 #DAE1A0 #ECF0CF

Accessibility & contrast

On white

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

On black

12.92
#C8D272 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D272
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D272#FFFFFF#000000##000000
##C8D2721.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8d272;
/* rgb */ color: rgb(200, 210, 114);
/* oklch */ color: oklch(83.5% 0.121 113.9);
Tailwind
colors: {
  custom: {
    50: '#dadf9c',
    500: '#c8d272',
    950: '#000000',
  },
}
SCSS
$custom: #c8d272;
$custom-light: #dadf9c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d272",
  "rgb": {
    "r": 200,
    "g": 210,
    "b": 114
  },
  "hsl": {
    "h": 66.25,
    "s": 51.613,
    "l": 63.529
  },
  "oklch": {
    "l": 0.83544,
    "c": 0.12101,
    "h": 113.9
  },
  "luminance": 0.59587
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8D272

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

Preview Lab → · Contrast checker → · Palette generator →

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