#C8C858#C8C858

#C8C858 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.1% C 0.135 H 109.1°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#C8C858
RGBrgb(200, 200, 88)
HSLhsl(60, 50%, 56%)
HSVhsv(60, 56%, 78%)
CMYKcmyk(0%, 0%, 56%, 21.6%)
CIE-LABlab(78.63, -14.66, 54.89)
CIE-LCHlch(78.63, 56.81, 104.96°)
OKLaboklab(81.07% -0.0439 0.1271)
OKLCHoklch(81.07% 0.135 109.1)
XYZxyz(46.2364, 54.2937, 17.2748)
Luminance0.5429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C858 #5858C8
analogous
#C89058 #C8C858 #90C858
triadic
#C8C858 #58C8C8 #C858C8
tetradic
#C8C858 #58C890 #5858C8 #C85890
square
#C8C858 #58C890 #5858C8 #C85890
split-complementary
#C8C858 #5890C8 #9058C8
monochromatic
#7D7D29 #ABAB38 #C8C858 #D7D786 #E6E6B4

Accessibility & contrast

On white

1.77
#C8C858 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#C8C858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C858
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C858#FFFFFF#000000##000000
##C8C8581.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04C
Deuteranopia (green-blind)
#D8C45E
Tritanopia (blue-blind)
#D5BDB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c8c858;
/* rgb */ color: rgb(200, 200, 88);
/* oklch */ color: oklch(81.1% 0.135 109.1);
Tailwind
colors: {
  custom: {
    50: '#dbd88b',
    500: '#c8c858',
    950: '#000000',
  },
}
SCSS
$custom: #c8c858;
$custom-light: #dbd88b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c858",
  "rgb": {
    "r": 200,
    "g": 200,
    "b": 88
  },
  "hsl": {
    "h": 60,
    "s": 50.45,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81072,
    "c": 0.13452,
    "h": 109.1
  },
  "luminance": 0.54292
}

Semantic roles & 50–950 ramp

primary
#C8C858
secondary
#3F3F85
accent
#4EDA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8C858

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

Preview Lab → · Contrast checker → · Palette generator →

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