#C8C352#C8C352

#C8C352 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 79.9% C 0.134 H 106.7°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#C8C352
RGBrgb(200, 195, 82)
HSLhsl(57, 52%, 55%)
HSVhsv(57, 59%, 78%)
CMYKcmyk(0%, 2.5%, 59%, 21.6%)
CIE-LABlab(77.23, -12.58, 56.01)
CIE-LCHlch(77.23, 57.40, 102.66°)
OKLaboklab(79.94% -0.0386 0.1288)
OKLCHoklch(79.94% 0.134 106.7)
XYZxyz(44.8589, 51.9202, 15.6396)
Luminance0.5192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C352 #5257C8
analogous
#C88852 #C8C352 #92C852
triadic
#C8C352 #52C8C3 #C352C8
tetradic
#C8C352 #52C888 #5257C8 #C85292
square
#C8C352 #52C888 #5257C8 #C85292
split-complementary
#C8C352 #5292C8 #8852C8
monochromatic
#797627 #A8A335 #C8C352 #D7D380 #E6E3AF

Accessibility & contrast

On white

1.84
#C8C352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#C8C352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C352
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C352#FFFFFF#000000##000000
##C8C3521.001.8411.3811.38
#FFFFFF1.841.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC45
Deuteranopia (green-blind)
#D5C158
Tritanopia (blue-blind)
#D5B7AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c8c352;
/* rgb */ color: rgb(200, 195, 82);
/* oklch */ color: oklch(79.9% 0.134 106.7);
Tailwind
colors: {
  custom: {
    50: '#dbd487',
    500: '#c8c352',
    950: '#000000',
  },
}
SCSS
$custom: #c8c352;
$custom-light: #dbd487;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c352",
  "rgb": {
    "r": 200,
    "g": 195,
    "b": 82
  },
  "hsl": {
    "h": 57.458,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79939,
    "c": 0.13445,
    "h": 106.7
  },
  "luminance": 0.51919
}

Semantic roles & 50–950 ramp

primary
#C8C352
secondary
#3D4082
accent
#53DB4D
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8C352

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

Preview Lab → · Contrast checker → · Palette generator →

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