#C8C852#C8C852

#C8C852 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.0% C 0.140 H 109.1°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#C8C852
RGBrgb(200, 200, 82)
HSLhsl(60, 52%, 55%)
HSVhsv(60, 59%, 78%)
CMYKcmyk(0%, 0%, 59%, 21.6%)
CIE-LABlab(78.58, -15.10, 57.48)
CIE-LCHlch(78.58, 59.43, 104.72°)
OKLaboklab(81.01% -0.0458 0.1319)
OKLCHoklch(81.01% 0.14 109.1)
XYZxyz(45.9980, 54.1983, 16.0193)
Luminance0.5420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C852 #5252C8
analogous
#C88D52 #C8C852 #8DC852
triadic
#C8C852 #52C8C8 #C852C8
tetradic
#C8C852 #52C88D #5252C8 #C8528D
square
#C8C852 #52C88D #5252C8 #C8528D
split-complementary
#C8C852 #528DC8 #8D52C8
monochromatic
#797927 #A8A835 #C8C852 #D7D780 #E6E6AF

Accessibility & contrast

On white

1.77
#C8C852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#C8C852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C852
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C852#FFFFFF#000000##000000
##C8C8521.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C045
Deuteranopia (green-blind)
#D8C459
Tritanopia (blue-blind)
#D5BCAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c8c852;
/* rgb */ color: rgb(200, 200, 82);
/* oklch */ color: oklch(81.0% 0.140 109.1);
Tailwind
colors: {
  custom: {
    50: '#dbd887',
    500: '#c8c852',
    950: '#000000',
  },
}
SCSS
$custom: #c8c852;
$custom-light: #dbd887;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c852",
  "rgb": {
    "r": 200,
    "g": 200,
    "b": 82
  },
  "hsl": {
    "h": 60,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.8101,
    "c": 0.13965,
    "h": 109.1
  },
  "luminance": 0.54197
}

Semantic roles & 50–950 ramp

primary
#C8C852
secondary
#3D3D82
accent
#4DDB4D
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8C852

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

Preview Lab → · Contrast checker → · Palette generator →

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