#C8C751#C8C751

#C8C751 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.8% C 0.139 H 108.7°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#C8C751
RGBrgb(200, 199, 81)
HSLhsl(59, 52%, 55%)
HSVhsv(59, 60%, 78%)
CMYKcmyk(0%, 0.5%, 59.5%, 21.6%)
CIE-LABlab(78.30, -14.67, 57.61)
CIE-LCHlch(78.30, 59.45, 104.29°)
OKLaboklab(80.79% -0.0447 0.1321)
OKLCHoklch(80.79% 0.139 108.7)
XYZxyz(45.7294, 53.7216, 15.7434)
Luminance0.5372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C751 #5152C8
analogous
#C88C51 #C8C751 #8DC851
triadic
#C8C751 #51C8C7 #C751C8
tetradic
#C8C751 #51C88C #5152C8 #C8518D
square
#C8C751 #51C88C #5152C8 #C8518D
split-complementary
#C8C751 #518DC8 #8C51C8
monochromatic
#797826 #A7A635 #C8C751 #D7D680 #E5E5AE

Accessibility & contrast

On white

1.79
#C8C751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#C8C751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C751
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C751#FFFFFF#000000##000000
##C8C7511.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF43
Deuteranopia (green-blind)
#D8C458
Tritanopia (blue-blind)
#D5BBAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c8c751;
/* rgb */ color: rgb(200, 199, 81);
/* oklch */ color: oklch(80.8% 0.139 108.7);
Tailwind
colors: {
  custom: {
    50: '#dbd787',
    500: '#c8c751',
    950: '#000000',
  },
}
SCSS
$custom: #c8c751;
$custom-light: #dbd787;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c751",
  "rgb": {
    "r": 200,
    "g": 199,
    "b": 81
  },
  "hsl": {
    "h": 59.496,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80786,
    "c": 0.13943,
    "h": 108.7
  },
  "luminance": 0.5372
}

Semantic roles & 50–950 ramp

primary
#C8C751
secondary
#3C3D81
accent
#4EDB4C
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8C751

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

Preview Lab → · Contrast checker → · Palette generator →

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