#C8D27F#C8D27F

#C8D27F is a very light, moderate yellow. Relative luminance 0.599; OKLCH L 83.7% C 0.107 H 114.4°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#C8D27F
RGBrgb(200, 210, 127)
HSLhsl(67, 48%, 66%)
HSVhsv(67, 40%, 82%)
CMYKcmyk(4.8%, 0%, 39.5%, 17.6%)
CIE-LABlab(81.79, -16.00, 39.97)
CIE-LCHlch(81.79, 43.05, 111.82°)
OKLaboklab(83.74% -0.0441 0.0974)
OKLCHoklch(83.74% 0.107 114.4)
XYZxyz(50.6972, 59.9055, 28.9667)
Luminance0.5990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D27F #897FD2
analogous
#D2B27F #C8D27F #9ED27F
triadic
#C8D27F #7FC8D2 #D27FC8
tetradic
#C8D27F #7FD2B2 #897FD2 #D27F9E
square
#C8D27F #7FD2B2 #897FD2 #D27F9E
split-complementary
#C8D27F #7F9ED2 #B27FD2
monochromatic
#929F38 #B5C252 #C8D27F #DBE2AC #EFF2DA

Accessibility & contrast

On white

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

On black

12.98
#C8D27F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D27F
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D27F#FFFFFF#000000##000000
##C8D27F1.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCB79
Deuteranopia (green-blind)
#DCCC83
Tritanopia (blue-blind)
#D1C9BE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c8d27f;
/* rgb */ color: rgb(200, 210, 127);
/* oklch */ color: oklch(83.7% 0.107 114.4);
Tailwind
colors: {
  custom: {
    50: '#dadfa5',
    500: '#c8d27f',
    950: '#000000',
  },
}
SCSS
$custom: #c8d27f;
$custom-light: #dadfa5;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d27f",
  "rgb": {
    "r": 200,
    "g": 210,
    "b": 127
  },
  "hsl": {
    "h": 67.229,
    "s": 47.977,
    "l": 66.078
  },
  "oklch": {
    "l": 0.83738,
    "c": 0.10695,
    "h": 114.4
  },
  "luminance": 0.59905
}

Semantic roles & 50–950 ramp

primary
#C8D27F
secondary
#5B51A4
accent
#2ABB3C
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #C8D27F

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

Preview Lab → · Contrast checker → · Palette generator →

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