#C8D279#C8D279

#C8D279 is a very light, moderate yellow. Relative luminance 0.598; OKLCH L 83.6% C 0.114 H 114.1°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#C8D279
RGBrgb(200, 210, 121)
HSLhsl(67, 50%, 65%)
HSVhsv(67, 42%, 82%)
CMYKcmyk(4.8%, 0%, 42.4%, 17.6%)
CIE-LABlab(81.70, -16.66, 42.85)
CIE-LCHlch(81.70, 45.98, 111.24°)
OKLaboklab(83.65% -0.0464 0.1036)
OKLCHoklch(83.65% 0.114 114.1)
XYZxyz(50.3177, 59.7537, 26.9683)
Luminance0.5975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D279 #8379D2
analogous
#D2B079 #C8D279 #9BD279
triadic
#C8D279 #79C8D2 #D279C8
tetradic
#C8D279 #79D2B0 #8379D2 #D2799B
square
#C8D279 #79D2B0 #8379D2 #D2799B
split-complementary
#C8D279 #799BD2 #B079D2
monochromatic
#919C34 #B5C34B #C8D279 #DBE1A7 #EEF1D5

Accessibility & contrast

On white

1.62
#C8D279 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.95
#C8D279 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D279
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D279#FFFFFF#000000##000000
##C8D2791.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECA72
Deuteranopia (green-blind)
#DDCC7D
Tritanopia (blue-blind)
#D2C9BD
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c8d279;
/* rgb */ color: rgb(200, 210, 121);
/* oklch */ color: oklch(83.6% 0.114 114.1);
Tailwind
colors: {
  custom: {
    50: '#dadfa1',
    500: '#c8d279',
    950: '#000000',
  },
}
SCSS
$custom: #c8d279;
$custom-light: #dadfa1;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d279",
  "rgb": {
    "r": 200,
    "g": 210,
    "b": 121
  },
  "hsl": {
    "h": 66.742,
    "s": 49.721,
    "l": 64.902
  },
  "oklch": {
    "l": 0.83645,
    "c": 0.11356,
    "h": 114.1
  },
  "luminance": 0.59753
}

Semantic roles & 50–950 ramp

primary
#C8D279
secondary
#574EA1
accent
#28BD39
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #C8D279

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

Preview Lab → · Contrast checker → · Palette generator →

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