#C7C352#C7C352

#C7C352 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.9% C 0.135 H 107.2°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#C7C352
RGBrgb(199, 195, 82)
HSLhsl(58, 51%, 55%)
HSVhsv(58, 59%, 78%)
CMYKcmyk(0%, 2%, 58.8%, 22%)
CIE-LABlab(77.15, -12.99, 55.89)
CIE-LCHlch(77.15, 57.38, 103.09°)
OKLaboklab(79.85% -0.0398 0.1286)
OKLCHoklch(79.85% 0.135 107.2)
XYZxyz(44.5927, 51.7829, 15.6271)
Luminance0.5178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C352 #5256C7
analogous
#C78952 #C7C352 #90C752
triadic
#C7C352 #52C7C3 #C352C7
tetradic
#C7C352 #52C789 #5256C7 #C75290
square
#C7C352 #52C789 #5256C7 #C75290
split-complementary
#C7C352 #5290C7 #8952C7
monochromatic
#787527 #A6A236 #C7C352 #D6D380 #E5E3AE

Accessibility & contrast

On white

1.85
#C7C352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#C7C352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C352
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C352#FFFFFF#000000##000000
##C7C3521.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC45
Deuteranopia (green-blind)
#D4C158
Tritanopia (blue-blind)
#D4B7AB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c7c352;
/* rgb */ color: rgb(199, 195, 82);
/* oklch */ color: oklch(79.9% 0.135 107.2);
Tailwind
colors: {
  custom: {
    50: '#dbd487',
    500: '#c7c352',
    950: '#000000',
  },
}
SCSS
$custom: #c7c352;
$custom-light: #dbd487;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c352",
  "rgb": {
    "r": 199,
    "g": 195,
    "b": 82
  },
  "hsl": {
    "h": 57.949,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79854,
    "c": 0.13457,
    "h": 107.2
  },
  "luminance": 0.51782
}

Semantic roles & 50–950 ramp

primary
#C7C352
secondary
#3D3F80
accent
#52DB4D
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C7C352

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

Preview Lab → · Contrast checker → · Palette generator →

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