#C7D952#C7D952

#C7D952 is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 84.6% C 0.159 H 116.3°. Best body text is #000000 at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#C7D952
RGBrgb(199, 217, 82)
HSLhsl(68, 64%, 59%)
HSVhsv(68, 62%, 85%)
CMYKcmyk(8.3%, 0%, 62.2%, 14.9%)
CIE-LABlab(83.11, -23.88, 62.37)
CIE-LCHlch(83.11, 66.78, 110.95°)
OKLaboklab(84.62% -0.0705 0.1423)
OKLCHoklch(84.62% 0.159 116.3)
XYZxyz(49.8901, 62.3777, 17.3929)
Luminance0.6238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D952 #6452D9
analogous
#D9A752 #C7D952 #83D952
triadic
#C7D952 #52C7D9 #D952C7
tetradic
#C7D952 #52D9A7 #6452D9 #D95283
square
#C7D952 #52D9A7 #6452D9 #D95283
split-complementary
#C7D952 #5283D9 #A752D9
monochromatic
#829120 #AFC32B #C7D952 #D7E484 #E7EFB6

Accessibility & contrast

On white

1.56
#C7D952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.48
#C7D952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D952
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D952#FFFFFF#000000##000000
##C7D9521.001.5613.4813.48
#FFFFFF1.561.0021.0021.00
#00000013.4821.001.001.00
##00000013.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE41
Deuteranopia (green-blind)
#E6D05B
Tritanopia (blue-blind)
#D3CDBD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c7d952;
/* rgb */ color: rgb(199, 217, 82);
/* oklch */ color: oklch(84.6% 0.159 116.3);
Tailwind
colors: {
  custom: {
    50: '#dbe488',
    500: '#c7d952',
    950: '#000000',
  },
}
SCSS
$custom: #c7d952;
$custom-light: #dbe488;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d952",
  "rgb": {
    "r": 199,
    "g": 217,
    "b": 82
  },
  "hsl": {
    "h": 68,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.8462,
    "c": 0.1588,
    "h": 116.3
  },
  "luminance": 0.62377
}

Semantic roles & 50–950 ramp

primary
#C7D952
secondary
#463996
accent
#41E757
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D952

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

Preview Lab → · Contrast checker → · Palette generator →

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