#C8C052#C8C052

#C8C052 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.3% C 0.131 H 105.1°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#C8C052
RGBrgb(200, 192, 82)
HSLhsl(56, 52%, 55%)
HSVhsv(56, 59%, 78%)
CMYKcmyk(0%, 4%, 59%, 21.6%)
CIE-LABlab(76.43, -11.05, 55.12)
CIE-LCHlch(76.43, 56.21, 101.33°)
OKLaboklab(79.3% -0.0343 0.1269)
OKLCHoklch(79.3% 0.131 105.1)
XYZxyz(44.1935, 50.5893, 15.4178)
Luminance0.5059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C052 #525AC8
analogous
#C88552 #C8C052 #95C852
triadic
#C8C052 #52C8C0 #C052C8
tetradic
#C8C052 #52C885 #525AC8 #C85295
square
#C8C052 #52C885 #525AC8 #C85295
split-complementary
#C8C052 #5295C8 #8552C8
monochromatic
#797327 #A8A035 #C8C052 #D7D180 #E6E2AF

Accessibility & contrast

On white

1.89
#C8C052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#C8C052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C052
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C052#FFFFFF#000000##000000
##C8C0521.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA46
Deuteranopia (green-blind)
#D2BF58
Tritanopia (blue-blind)
#D6B4A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c8c052;
/* rgb */ color: rgb(200, 192, 82);
/* oklch */ color: oklch(79.3% 0.131 105.1);
Tailwind
colors: {
  custom: {
    50: '#dbd287',
    500: '#c8c052',
    950: '#000000',
  },
}
SCSS
$custom: #c8c052;
$custom-light: #dbd287;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c052",
  "rgb": {
    "r": 200,
    "g": 192,
    "b": 82
  },
  "hsl": {
    "h": 55.932,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.793,
    "c": 0.13144,
    "h": 105.1
  },
  "luminance": 0.50588
}

Semantic roles & 50–950 ramp

primary
#C8C052
secondary
#3D4182
accent
#56DB4D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8C052

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

Preview Lab → · Contrast checker → · Palette generator →

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