#C7D332#C7D332

#C7D332 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.1% C 0.173 H 114.0°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#C7D332
RGBrgb(199, 211, 50)
HSLhsl(64, 65%, 51%)
HSVhsv(64, 76%, 83%)
CMYKcmyk(5.7%, 0%, 76.3%, 17.3%)
CIE-LABlab(81.27, -22.70, 72.09)
CIE-LCHlch(81.27, 75.58, 107.48°)
OKLaboklab(83.08% -0.0701 0.1577)
OKLCHoklch(83.08% 0.173 114)
XYZxyz(47.4246, 58.9619, 11.8995)
Luminance0.5896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D332 #3E32D3
analogous
#D38E32 #C7D332 #76D332
triadic
#C7D332 #32C7D3 #D332C7
tetradic
#C7D332 #32D38E #3E32D3 #D33276
square
#C7D332 #32D38E #3E32D3 #D33276
split-complementary
#C7D332 #3276D3 #8E32D3
monochromatic
#6B7218 #9BA423 #C7D332 #D5DE64 #E3E997

Accessibility & contrast

On white

1.64
#C7D332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#C7D332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D332
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D332#FFFFFF#000000##000000
##C7D3321.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C800
Deuteranopia (green-blind)
#E2CB41
Tritanopia (blue-blind)
#D4C6B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c7d332;
/* rgb */ color: rgb(199, 211, 50);
/* oklch */ color: oklch(83.1% 0.173 114.0);
Tailwind
colors: {
  custom: {
    50: '#dce077',
    500: '#c7d332',
    950: '#000000',
  },
}
SCSS
$custom: #c7d332;
$custom-light: #dce077;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d332",
  "rgb": {
    "r": 199,
    "g": 211,
    "b": 50
  },
  "hsl": {
    "h": 64.472,
    "s": 64.659,
    "l": 51.176
  },
  "oklch": {
    "l": 0.83077,
    "c": 0.1726,
    "h": 114
  },
  "luminance": 0.58961
}

Semantic roles & 50–950 ramp

primary
#C7D332
secondary
#342E7B
accent
#40E84D
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#16150A
muted
#84847D

Preview Lab

Preview with #C7D332

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

Preview Lab → · Contrast checker → · Palette generator →

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