#C7D857#C7D857

#C7D857 is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 84.4% C 0.154 H 116.1°. Best body text is #000000 at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#C7D857
RGBrgb(199, 216, 87)
HSLhsl(68, 62%, 59%)
HSVhsv(68, 60%, 85%)
CMYKcmyk(7.9%, 0%, 59.7%, 15.3%)
CIE-LABlab(82.88, -23.05, 60.02)
CIE-LCHlch(82.88, 64.30, 111.01°)
OKLaboklab(84.45% -0.0676 0.138)
OKLCHoklch(84.45% 0.154 116.1)
XYZxyz(49.8303, 61.9426, 18.3461)
Luminance0.6194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D857 #6857D8
analogous
#D8A957 #C7D857 #87D857
triadic
#C7D857 #57C7D8 #D857C7
tetradic
#C7D857 #57D8A9 #6857D8 #D85787
square
#C7D857 #57D8A9 #6857D8 #D85787
split-complementary
#C7D857 #5787D8 #A957D8
monochromatic
#849322 #B0C42E #C7D857 #D8E489 #E8EFBA

Accessibility & contrast

On white

1.57
#C7D857 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.39
#C7D857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D857
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D857#FFFFFF#000000##000000
##C7D8571.001.5713.3913.39
#FFFFFF1.571.0021.0021.00
#00000013.3921.001.001.00
##00000013.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE48
Deuteranopia (green-blind)
#E4CF5F
Tritanopia (blue-blind)
#D2CDBD
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c7d857;
/* rgb */ color: rgb(199, 216, 87);
/* oklch */ color: oklch(84.4% 0.154 116.1);
Tailwind
colors: {
  custom: {
    50: '#dbe48b',
    500: '#c7d857',
    950: '#000000',
  },
}
SCSS
$custom: #c7d857;
$custom-light: #dbe48b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d857",
  "rgb": {
    "r": 199,
    "g": 216,
    "b": 87
  },
  "hsl": {
    "h": 67.907,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.84449,
    "c": 0.15367,
    "h": 116.1
  },
  "luminance": 0.61942
}

Semantic roles & 50–950 ramp

primary
#C7D857
secondary
#483C98
accent
#42E558
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D857

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

Preview Lab → · Contrast checker → · Palette generator →

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