#C7D855#C7D855

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

Color values

HEX#C7D855
RGBrgb(199, 216, 85)
HSLhsl(68, 63%, 59%)
HSVhsv(68, 61%, 85%)
CMYKcmyk(7.9%, 0%, 60.6%, 15.3%)
CIE-LABlab(82.87, -23.19, 60.85)
CIE-LCHlch(82.87, 65.12, 110.86°)
OKLaboklab(84.43% -0.0682 0.1395)
OKLCHoklch(84.43% 0.155 116.1)
XYZxyz(49.7498, 61.9104, 17.9217)
Luminance0.6191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D855 #6655D8
analogous
#D8A855 #C7D855 #86D855
triadic
#C7D855 #55C7D8 #D855C7
tetradic
#C7D855 #55D8A8 #6655D8 #D85586
square
#C7D855 #55D8A8 #6655D8 #D85586
split-complementary
#C7D855 #5586D8 #A855D8
monochromatic
#839121 #B0C32D #C7D855 #D7E387 #E8EFB9

Accessibility & contrast

On white

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

On black

13.38
#C7D855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D855
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D855#FFFFFF#000000##000000
##C7D8551.001.5713.3813.38
#FFFFFF1.571.0021.0021.00
#00000013.3821.001.001.00
##00000013.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE45
Deuteranopia (green-blind)
#E5CF5E
Tritanopia (blue-blind)
#D3CDBC
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c7d855;
/* rgb */ color: rgb(199, 216, 85);
/* oklch */ color: oklch(84.4% 0.155 116.1);
Tailwind
colors: {
  custom: {
    50: '#dbe48a',
    500: '#c7d855',
    950: '#000000',
  },
}
SCSS
$custom: #c7d855;
$custom-light: #dbe48a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d855",
  "rgb": {
    "r": 199,
    "g": 216,
    "b": 85
  },
  "hsl": {
    "h": 67.786,
    "s": 62.679,
    "l": 59.02
  },
  "oklch": {
    "l": 0.84429,
    "c": 0.15528,
    "h": 116.1
  },
  "luminance": 0.6191
}

Semantic roles & 50–950 ramp

primary
#C7D855
secondary
#473B96
accent
#42E657
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D855

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

Preview Lab → · Contrast checker → · Palette generator →

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