#C8C950#C8C950

#C8C950 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.2% C 0.142 H 109.6°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#C8C950
RGBrgb(200, 201, 80)
HSLhsl(60, 53%, 55%)
HSVhsv(60, 60%, 79%)
CMYKcmyk(0.5%, 0%, 60.2%, 21.2%)
CIE-LABlab(78.83, -15.74, 58.62)
CIE-LCHlch(78.83, 60.70, 105.03°)
OKLaboklab(81.21% -0.0478 0.1341)
OKLCHoklch(81.21% 0.142 109.6)
XYZxyz(46.1554, 54.6331, 15.7018)
Luminance0.5463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C950 #5150C9
analogous
#C98E50 #C8C950 #8BC950
triadic
#C8C950 #50C8C9 #C950C8
tetradic
#C8C950 #50C98E #5150C9 #C9508B
square
#C8C950 #50C98E #5150C9 #C9508B
split-complementary
#C8C950 #508BC9 #8E50C9
monochromatic
#797925 #A7A834 #C8C950 #D7D77F #E5E6AE

Accessibility & contrast

On white

1.76
#C8C950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#C8C950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C950
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C950#FFFFFF#000000##000000
##C8C9501.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C142
Deuteranopia (green-blind)
#D9C557
Tritanopia (blue-blind)
#D5BDAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c8c950;
/* rgb */ color: rgb(200, 201, 80);
/* oklch */ color: oklch(81.2% 0.142 109.6);
Tailwind
colors: {
  custom: {
    50: '#dbd986',
    500: '#c8c950',
    950: '#000000',
  },
}
SCSS
$custom: #c8c950;
$custom-light: #dbd986;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c950",
  "rgb": {
    "r": 200,
    "g": 201,
    "b": 80
  },
  "hsl": {
    "h": 60.496,
    "s": 52.838,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81206,
    "c": 0.14235,
    "h": 109.6
  },
  "luminance": 0.54632
}

Semantic roles & 50–950 ramp

primary
#C8C950
secondary
#3C3C82
accent
#4CDC4D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8C950

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

Preview Lab → · Contrast checker → · Palette generator →

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