#C8C050#C8C050

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

Color values

HEX#C8C050
RGBrgb(200, 192, 80)
HSLhsl(56, 52%, 55%)
HSVhsv(56, 60%, 78%)
CMYKcmyk(0%, 4%, 60%, 21.6%)
CIE-LABlab(76.41, -11.19, 55.98)
CIE-LCHlch(76.41, 57.09, 101.30°)
OKLaboklab(79.28% -0.0349 0.1285)
OKLCHoklch(79.28% 0.133 105.2)
XYZxyz(44.1185, 50.5593, 15.0228)
Luminance0.5056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C050 #5058C8
analogous
#C88450 #C8C050 #94C850
triadic
#C8C050 #50C8C0 #C050C8
tetradic
#C8C050 #50C884 #5058C8 #C85094
square
#C8C050 #50C884 #5058C8 #C85094
split-complementary
#C8C050 #5094C8 #8450C8
monochromatic
#787226 #A69F34 #C8C050 #D7D17F #E5E2AD

Accessibility & contrast

On white

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

On black

11.11
#C8C050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C050
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C050#FFFFFF#000000##000000
##C8C0501.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8c050;
/* rgb */ color: rgb(200, 192, 80);
/* oklch */ color: oklch(79.3% 0.133 105.2);
Tailwind
colors: {
  custom: {
    50: '#dbd285',
    500: '#c8c050',
    950: '#000000',
  },
}
SCSS
$custom: #c8c050;
$custom-light: #dbd285;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c050",
  "rgb": {
    "r": 200,
    "g": 192,
    "b": 80
  },
  "hsl": {
    "h": 56,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79279,
    "c": 0.13314,
    "h": 105.2
  },
  "luminance": 0.50558
}

Semantic roles & 50–950 ramp

primary
#C8C050
secondary
#3C4080
accent
#56DC4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8C050

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

Preview Lab → · Contrast checker → · Palette generator →

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