#C8C152#C8C152

#C8C152 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.5% C 0.132 H 105.7°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#C8C152
RGBrgb(200, 193, 82)
HSLhsl(56, 52%, 55%)
HSVhsv(56, 59%, 78%)
CMYKcmyk(0%, 3.5%, 59%, 21.6%)
CIE-LABlab(76.70, -11.56, 55.41)
CIE-LCHlch(76.70, 56.61, 101.78°)
OKLaboklab(79.51% -0.0357 0.1275)
OKLCHoklch(79.51% 0.132 105.7)
XYZxyz(44.4138, 51.0299, 15.4912)
Luminance0.5103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C152 #5259C8
analogous
#C88652 #C8C152 #94C852
triadic
#C8C152 #52C8C1 #C152C8
tetradic
#C8C152 #52C886 #5259C8 #C85294
square
#C8C152 #52C886 #5259C8 #C85294
split-complementary
#C8C152 #5294C8 #8652C8
monochromatic
#797427 #A8A135 #C8C152 #D7D280 #E6E2AF

Accessibility & contrast

On white

1.87
#C8C152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#C8C152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C152
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C152#FFFFFF#000000##000000
##C8C1521.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA46
Deuteranopia (green-blind)
#D3C058
Tritanopia (blue-blind)
#D6B5A9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c8c152;
/* rgb */ color: rgb(200, 193, 82);
/* oklch */ color: oklch(79.5% 0.132 105.7);
Tailwind
colors: {
  custom: {
    50: '#dbd387',
    500: '#c8c152',
    950: '#000000',
  },
}
SCSS
$custom: #c8c152;
$custom-light: #dbd387;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c152",
  "rgb": {
    "r": 200,
    "g": 193,
    "b": 82
  },
  "hsl": {
    "h": 56.441,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79512,
    "c": 0.13244,
    "h": 105.7
  },
  "luminance": 0.51028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8C152

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

Preview Lab → · Contrast checker → · Palette generator →

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