#C7D352#C7D352

#C7D352 is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.3% C 0.152 H 114.2°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#C7D352
RGBrgb(199, 211, 82)
HSLhsl(66, 59%, 57%)
HSVhsv(66, 61%, 83%)
CMYKcmyk(5.7%, 0%, 61.1%, 17.3%)
CIE-LABlab(81.48, -20.97, 60.61)
CIE-LCHlch(81.48, 64.14, 109.08°)
OKLaboklab(83.31% -0.0623 0.1386)
OKLCHoklch(83.31% 0.152 114.2)
XYZxyz(48.3716, 59.3407, 16.8867)
Luminance0.5934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D352 #5E52D3
analogous
#D39E52 #C7D352 #87D352
triadic
#C7D352 #52C7D3 #D352C7
tetradic
#C7D352 #52D39E #5E52D3 #D35287
square
#C7D352 #52D39E #5E52D3 #D35287
split-complementary
#C7D352 #5287D3 #9E52D3
monochromatic
#7F8823 #ACB92F #C7D352 #D7DF83 #E7ECB4

Accessibility & contrast

On white

1.63
#C7D352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.87
#C7D352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D352
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D352#FFFFFF#000000##000000
##C7D3521.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C942
Deuteranopia (green-blind)
#E1CC5A
Tritanopia (blue-blind)
#D3C7B8
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c7d352;
/* rgb */ color: rgb(199, 211, 82);
/* oklch */ color: oklch(83.3% 0.152 114.2);
Tailwind
colors: {
  custom: {
    50: '#dbe088',
    500: '#c7d352',
    950: '#000000',
  },
}
SCSS
$custom: #c7d352;
$custom-light: #dbe088;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d352",
  "rgb": {
    "r": 199,
    "g": 211,
    "b": 82
  },
  "hsl": {
    "h": 65.581,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.8331,
    "c": 0.15194,
    "h": 114.2
  },
  "luminance": 0.5934
}

Semantic roles & 50–950 ramp

primary
#C7D352
secondary
#433B8E
accent
#45E354
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D352

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

Preview Lab → · Contrast checker → · Palette generator →

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