#C8D273#C8D273

#C8D273 is a very light, moderate yellow. Relative luminance 0.596; OKLCH L 83.6% C 0.120 H 114.0°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#C8D273
RGBrgb(200, 210, 115)
HSLhsl(66, 51%, 64%)
HSVhsv(66, 45%, 82%)
CMYKcmyk(4.8%, 0%, 45.2%, 17.6%)
CIE-LABlab(81.63, -17.28, 45.71)
CIE-LCHlch(81.63, 48.86, 110.71°)
OKLaboklab(83.56% -0.0487 0.1096)
OKLCHoklch(83.56% 0.12 114)
XYZxyz(49.9612, 59.6111, 25.0905)
Luminance0.5961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D273 #7D73D2
analogous
#D2AC73 #C8D273 #98D273
triadic
#C8D273 #73C8D2 #D273C8
tetradic
#C8D273 #73D2AC #7D73D2 #D27398
square
#C8D273 #73D2AC #7D73D2 #D27398
split-complementary
#C8D273 #7398D2 #AC73D2
monochromatic
#8E9931 #B6C345 #C8D273 #DAE1A1 #ECF0D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8D273#FFFFFF#000000##000000
##C8D2731.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)
#DECA6B
Deuteranopia (green-blind)
#DECC78
Tritanopia (blue-blind)
#D2C8BC
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c8d273;
/* rgb */ color: rgb(200, 210, 115);
/* oklch */ color: oklch(83.6% 0.120 114.0);
Tailwind
colors: {
  custom: {
    50: '#dadf9d',
    500: '#c8d273',
    950: '#000000',
  },
}
SCSS
$custom: #c8d273;
$custom-light: #dadf9d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d273",
  "rgb": {
    "r": 200,
    "g": 210,
    "b": 115
  },
  "hsl": {
    "h": 66.316,
    "s": 51.351,
    "l": 63.725
  },
  "oklch": {
    "l": 0.83558,
    "c": 0.11996,
    "h": 114
  },
  "luminance": 0.5961
}

Semantic roles & 50–950 ramp

primary
#C8D273
secondary
#544B9F
accent
#27BF37
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C8D273

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

Preview Lab → · Contrast checker → · Palette generator →

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