#C7D652#C7D652

#C7D652 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.0% C 0.155 H 115.3°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#C7D652
RGBrgb(199, 214, 82)
HSLhsl(67, 62%, 58%)
HSVhsv(67, 62%, 84%)
CMYKcmyk(7%, 0%, 61.7%, 16.1%)
CIE-LABlab(82.30, -22.43, 61.49)
CIE-LCHlch(82.30, 65.45, 110.04°)
OKLaboklab(83.96% -0.0664 0.1404)
OKLCHoklch(83.96% 0.155 115.3)
XYZxyz(49.1238, 60.8452, 17.1375)
Luminance0.6084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D652 #6152D6
analogous
#D6A352 #C7D652 #85D652
triadic
#C7D652 #52C7D6 #D652C7
tetradic
#C7D652 #52D6A3 #6152D6 #D65285
square
#C7D652 #52D6A3 #6152D6 #D65285
split-complementary
#C7D652 #5285D6 #A352D6
monochromatic
#808C21 #ADBE2D #C7D652 #D7E283 #E7EDB5

Accessibility & contrast

On white

1.59
#C7D652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.17
#C7D652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D652
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D652#FFFFFF#000000##000000
##C7D6521.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC42
Deuteranopia (green-blind)
#E3CE5B
Tritanopia (blue-blind)
#D3CABA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c7d652;
/* rgb */ color: rgb(199, 214, 82);
/* oklch */ color: oklch(84.0% 0.155 115.3);
Tailwind
colors: {
  custom: {
    50: '#dbe288',
    500: '#c7d652',
    950: '#000000',
  },
}
SCSS
$custom: #c7d652;
$custom-light: #dbe288;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d652",
  "rgb": {
    "r": 199,
    "g": 214,
    "b": 82
  },
  "hsl": {
    "h": 66.818,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.83964,
    "c": 0.15535,
    "h": 115.3
  },
  "luminance": 0.60844
}

Semantic roles & 50–950 ramp

primary
#C7D652
secondary
#443A92
accent
#43E555
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D652

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

Preview Lab → · Contrast checker → · Palette generator →

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