#C7D772#C7D772

#C7D772 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.5% C 0.128 H 116.6°. Best body text is #000000 at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#C7D772
RGBrgb(199, 215, 114)
HSLhsl(70, 56%, 65%)
HSVhsv(70, 47%, 84%)
CMYKcmyk(7.4%, 0%, 47%, 15.7%)
CIE-LABlab(82.89, -20.24, 47.72)
CIE-LCHlch(82.89, 51.83, 112.99°)
OKLaboklab(84.55% -0.0571 0.114)
OKLCHoklch(84.55% 0.128 116.6)
XYZxyz(50.8914, 61.9584, 25.1945)
Luminance0.6196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D772 #8272D7
analogous
#D7B572 #C7D772 #95D772
triadic
#C7D772 #72C7D7 #D772C7
tetradic
#C7D772 #72D7B5 #8272D7 #D77295
square
#C7D772 #72D7B5 #8272D7 #D77295
split-complementary
#C7D772 #7295D7 #B572D7
monochromatic
#8FA12E #B4C942 #C7D772 #DAE5A2 #EDF2D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7D772#FFFFFF#000000##000000
##C7D7721.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)
#E3CE69
Deuteranopia (green-blind)
#E1CF77
Tritanopia (blue-blind)
#D1CDBF
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c7d772;
/* rgb */ color: rgb(199, 215, 114);
/* oklch */ color: oklch(84.5% 0.128 116.6);
Tailwind
colors: {
  custom: {
    50: '#dae39d',
    500: '#c7d772',
    950: '#000000',
  },
}
SCSS
$custom: #c7d772;
$custom-light: #dae39d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d772",
  "rgb": {
    "r": 199,
    "g": 215,
    "b": 114
  },
  "hsl": {
    "h": 69.505,
    "s": 55.801,
    "l": 64.51
  },
  "oklch": {
    "l": 0.84546,
    "c": 0.12755,
    "h": 116.6
  },
  "luminance": 0.61958
}

Semantic roles & 50–950 ramp

primary
#C7D772
secondary
#5748A5
accent
#22C33C
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C7D772

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

Preview Lab → · Contrast checker → · Palette generator →

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