#C8C459#C8C459

#C8C459 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.2% C 0.129 H 107.0°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#C8C459
RGBrgb(200, 196, 89)
HSLhsl(58, 50%, 57%)
HSVhsv(58, 56%, 78%)
CMYKcmyk(0%, 2%, 55.5%, 21.6%)
CIE-LABlab(77.57, -12.57, 53.23)
CIE-LCHlch(77.57, 54.69, 103.28°)
OKLaboklab(80.23% -0.0378 0.1237)
OKLCHoklch(80.23% 0.129 107)
XYZxyz(45.3638, 52.4818, 17.1896)
Luminance0.5248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C459 #595DC8
analogous
#C88D59 #C8C459 #95C859
triadic
#C8C459 #59C8C4 #C459C8
tetradic
#C8C459 #59C88D #595DC8 #C85995
square
#C8C459 #59C88D #595DC8 #C85995
split-complementary
#C8C459 #5995C8 #8D59C8
monochromatic
#7D7A29 #ABA739 #C8C459 #D7D487 #E6E5B5

Accessibility & contrast

On white

1.83
#C8C459 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#C8C459 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C459
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C459#FFFFFF#000000##000000
##C8C4591.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD4E
Deuteranopia (green-blind)
#D5C25F
Tritanopia (blue-blind)
#D5B9AC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c8c459;
/* rgb */ color: rgb(200, 196, 89);
/* oklch */ color: oklch(80.2% 0.129 107.0);
Tailwind
colors: {
  custom: {
    50: '#dbd58b',
    500: '#c8c459',
    950: '#000000',
  },
}
SCSS
$custom: #c8c459;
$custom-light: #dbd58b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c459",
  "rgb": {
    "r": 200,
    "g": 196,
    "b": 89
  },
  "hsl": {
    "h": 57.838,
    "s": 50.226,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80227,
    "c": 0.12937,
    "h": 107
  },
  "luminance": 0.5248
}

Semantic roles & 50–950 ramp

primary
#C8C459
secondary
#404285
accent
#53DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8C459

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

Preview Lab → · Contrast checker → · Palette generator →

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