#C7D552#C7D552

#C7D552 is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 83.7% C 0.154 H 114.9°. Best body text is #000000 at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#C7D552
RGBrgb(199, 213, 82)
HSLhsl(66, 61%, 58%)
HSVhsv(66, 62%, 84%)
CMYKcmyk(6.6%, 0%, 61.5%, 16.5%)
CIE-LABlab(82.02, -21.95, 61.20)
CIE-LCHlch(82.02, 65.01, 109.73°)
OKLaboklab(83.75% -0.065 0.1398)
OKLCHoklch(83.75% 0.154 114.9)
XYZxyz(48.8715, 60.3406, 17.0534)
Luminance0.6034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D552 #6052D5
analogous
#D5A152 #C7D552 #86D552
triadic
#C7D552 #52C7D5 #D552C7
tetradic
#C7D552 #52D5A1 #6052D5 #D55286
square
#C7D552 #52D5A1 #6052D5 #D55286
split-complementary
#C7D552 #5286D5 #A152D5
monochromatic
#808B22 #ADBC2E #C7D552 #D7E183 #E7EDB4

Accessibility & contrast

On white

1.61
#C7D552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.07
#C7D552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D552
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D552#FFFFFF#000000##000000
##C7D5521.001.6113.0713.07
#FFFFFF1.611.0021.0021.00
#00000013.0721.001.001.00
##00000013.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB42
Deuteranopia (green-blind)
#E2CD5B
Tritanopia (blue-blind)
#D3C9BA
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #c7d552;
/* rgb */ color: rgb(199, 213, 82);
/* oklch */ color: oklch(83.7% 0.154 114.9);
Tailwind
colors: {
  custom: {
    50: '#dbe188',
    500: '#c7d552',
    950: '#000000',
  },
}
SCSS
$custom: #c7d552;
$custom-light: #dbe188;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d552",
  "rgb": {
    "r": 199,
    "g": 213,
    "b": 82
  },
  "hsl": {
    "h": 66.412,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.83746,
    "c": 0.15421,
    "h": 114.9
  },
  "luminance": 0.6034
}

Semantic roles & 50–950 ramp

primary
#C7D552
secondary
#443A91
accent
#44E455
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D552

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

Preview Lab → · Contrast checker → · Palette generator →

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