#C8C951#C8C951

#C8C951 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#C8C951
RGBrgb(200, 201, 81)
HSLhsl(61, 53%, 55%)
HSVhsv(61, 60%, 79%)
CMYKcmyk(0.5%, 0%, 59.7%, 21.2%)
CIE-LABlab(78.84, -15.67, 58.20)
CIE-LCHlch(78.84, 60.27, 105.07°)
OKLaboklab(81.22% -0.0475 0.1333)
OKLCHoklch(81.22% 0.142 109.6)
XYZxyz(46.1926, 54.6479, 15.8978)
Luminance0.5465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C951 #5251C9
analogous
#C98E51 #C8C951 #8CC951
triadic
#C8C951 #51C8C9 #C951C8
tetradic
#C8C951 #51C98E #5251C9 #C9518C
square
#C8C951 #51C98E #5251C9 #C9518C
split-complementary
#C8C951 #518CC9 #8E51C9
monochromatic
#797A26 #A8A934 #C8C951 #D7D780 #E6E6AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8C951#FFFFFF#000000##000000
##C8C9511.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)
#D8C143
Deuteranopia (green-blind)
#D9C558
Tritanopia (blue-blind)
#D5BDB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c8c951;
/* rgb */ color: rgb(200, 201, 81);
/* oklch */ color: oklch(81.2% 0.142 109.6);
Tailwind
colors: {
  custom: {
    50: '#dbd987',
    500: '#c8c951',
    950: '#000000',
  },
}
SCSS
$custom: #c8c951;
$custom-light: #dbd987;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c951",
  "rgb": {
    "r": 200,
    "g": 201,
    "b": 81
  },
  "hsl": {
    "h": 60.5,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81216,
    "c": 0.14153,
    "h": 109.6
  },
  "luminance": 0.54647
}

Semantic roles & 50–950 ramp

primary
#C8C951
secondary
#3D3C82
accent
#4CDC4D
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8C951

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

Preview Lab → · Contrast checker → · Palette generator →

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