#C8C754#C8C754

#C8C754 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.8% C 0.137 H 108.6°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#C8C754
RGBrgb(200, 199, 84)
HSLhsl(59, 51%, 56%)
HSVhsv(59, 58%, 78%)
CMYKcmyk(0%, 0.5%, 58%, 21.6%)
CIE-LABlab(78.33, -14.46, 56.33)
CIE-LCHlch(78.33, 58.16, 104.39°)
OKLaboklab(80.82% -0.0438 0.1297)
OKLCHoklch(80.82% 0.137 108.6)
XYZxyz(45.8444, 53.7676, 16.3490)
Luminance0.5377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C754 #5455C8
analogous
#C88D54 #C8C754 #8FC854
triadic
#C8C754 #54C8C7 #C754C8
tetradic
#C8C754 #54C88D #5455C8 #C8548F
square
#C8C754 #54C88D #5455C8 #C8548F
split-complementary
#C8C754 #548FC8 #8D54C8
monochromatic
#7A7A27 #A9A836 #C8C754 #D7D682 #E6E5B1

Accessibility & contrast

On white

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

On black

11.75
#C8C754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C754
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C754#FFFFFF#000000##000000
##C8C7541.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8c754;
/* rgb */ color: rgb(200, 199, 84);
/* oklch */ color: oklch(80.8% 0.137 108.6);
Tailwind
colors: {
  custom: {
    50: '#dbd788',
    500: '#c8c754',
    950: '#000000',
  },
}
SCSS
$custom: #c8c754;
$custom-light: #dbd788;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c754",
  "rgb": {
    "r": 200,
    "g": 199,
    "b": 84
  },
  "hsl": {
    "h": 59.483,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80816,
    "c": 0.13691,
    "h": 108.6
  },
  "luminance": 0.53766
}

Semantic roles & 50–950 ramp

primary
#C8C754
secondary
#3E3E83
accent
#4EDB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8C754

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

Preview Lab → · Contrast checker → · Palette generator →

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