#C8C04E#C8C04E

#C8C04E is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.3% C 0.135 H 105.3°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#C8C04E
RGBrgb(200, 192, 78)
HSLhsl(56, 53%, 55%)
HSVhsv(56, 61%, 78%)
CMYKcmyk(0%, 4%, 61%, 21.6%)
CIE-LABlab(76.39, -11.32, 56.84)
CIE-LCHlch(76.39, 57.96, 101.27°)
OKLaboklab(79.26% -0.0355 0.13)
OKLCHoklch(79.26% 0.135 105.3)
XYZxyz(44.0457, 50.5302, 14.6394)
Luminance0.5053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C04E #4E56C8
analogous
#C8834E #C8C04E #93C84E
triadic
#C8C04E #4EC8C0 #C04EC8
tetradic
#C8C04E #4EC883 #4E56C8 #C84E93
square
#C8C04E #4EC883 #4E56C8 #C84E93
split-complementary
#C8C04E #4E93C8 #834EC8
monochromatic
#777125 #A59E33 #C8C04E #D7D17D #E5E1AB

Accessibility & contrast

On white

1.89
#C8C04E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#C8C04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C04E
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C04E#FFFFFF#000000##000000
##C8C04E1.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA41
Deuteranopia (green-blind)
#D3BF54
Tritanopia (blue-blind)
#D6B4A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c8c04e;
/* rgb */ color: rgb(200, 192, 78);
/* oklch */ color: oklch(79.3% 0.135 105.3);
Tailwind
colors: {
  custom: {
    50: '#dcd284',
    500: '#c8c04e',
    950: '#000000',
  },
}
SCSS
$custom: #c8c04e;
$custom-light: #dcd284;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c04e",
  "rgb": {
    "r": 200,
    "g": 192,
    "b": 78
  },
  "hsl": {
    "h": 56.066,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.79259,
    "c": 0.13479,
    "h": 105.3
  },
  "luminance": 0.50529
}

Semantic roles & 50–950 ramp

primary
#C8C04E
secondary
#3B3F7F
accent
#55DC4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8C04E

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

Preview Lab → · Contrast checker → · Palette generator →

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