#C8C64D#C8C64D

#C8C64D is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.5% C 0.142 H 108.3°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#C8C64D
RGBrgb(200, 198, 77)
HSLhsl(59, 53%, 54%)
HSVhsv(59, 62%, 78%)
CMYKcmyk(0%, 1%, 61.5%, 21.6%)
CIE-LABlab(78.00, -14.44, 59.00)
CIE-LCHlch(78.00, 60.74, 103.75°)
OKLaboklab(80.53% -0.0445 0.1345)
OKLCHoklch(80.53% 0.142 108.3)
XYZxyz(45.3545, 53.2047, 14.9001)
Luminance0.5320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C64D #4D4FC8
analogous
#C8884D #C8C64D #8DC84D
triadic
#C8C64D #4DC8C6 #C64DC8
tetradic
#C8C64D #4DC888 #4D4FC8 #C84D8D
square
#C8C64D #4DC888 #4D4FC8 #C84D8D
split-complementary
#C8C64D #4D8DC8 #884DC8
monochromatic
#767524 #A5A333 #C8C64D #D6D57C #E5E4AB

Accessibility & contrast

On white

1.80
#C8C64D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#C8C64D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C64D
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C64D#FFFFFF#000000##000000
##C8C64D1.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE3E
Deuteranopia (green-blind)
#D7C354
Tritanopia (blue-blind)
#D5BAAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c8c64d;
/* rgb */ color: rgb(200, 198, 77);
/* oklch */ color: oklch(80.5% 0.142 108.3);
Tailwind
colors: {
  custom: {
    50: '#dcd784',
    500: '#c8c64d',
    950: '#000000',
  },
}
SCSS
$custom: #c8c64d;
$custom-light: #dcd784;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c64d",
  "rgb": {
    "r": 200,
    "g": 198,
    "b": 77
  },
  "hsl": {
    "h": 59.024,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80533,
    "c": 0.14162,
    "h": 108.3
  },
  "luminance": 0.53203
}

Semantic roles & 50–950 ramp

primary
#C8C64D
secondary
#3A3B7F
accent
#4EDC4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8C64D

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

Preview Lab → · Contrast checker → · Palette generator →

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