#C8C04D#C8C04D

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

Color values

HEX#C8C04D
RGBrgb(200, 192, 77)
HSLhsl(56, 53%, 54%)
HSVhsv(56, 62%, 78%)
CMYKcmyk(0%, 4%, 61.5%, 21.6%)
CIE-LABlab(76.38, -11.39, 57.26)
CIE-LCHlch(76.38, 58.39, 101.25°)
OKLaboklab(79.25% -0.0358 0.1308)
OKLCHoklch(79.25% 0.136 105.3)
XYZxyz(44.0101, 50.5160, 14.4520)
Luminance0.5051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C04D #4D55C8
analogous
#C8834D #C8C04D #92C84D
triadic
#C8C04D #4DC8C0 #C04DC8
tetradic
#C8C04D #4DC883 #4D55C8 #C84D92
square
#C8C04D #4DC883 #4D55C8 #C84D92
split-complementary
#C8C04D #4D92C8 #834DC8
monochromatic
#767124 #A59D33 #C8C04D #D6D17C #E5E1AB

Accessibility & contrast

On white

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

On black

11.10
#C8C04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C04D
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C04D#FFFFFF#000000##000000
##C8C04D1.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8c04d;
/* rgb */ color: rgb(200, 192, 77);
/* oklch */ color: oklch(79.3% 0.136 105.3);
Tailwind
colors: {
  custom: {
    50: '#dcd284',
    500: '#c8c04d',
    950: '#000000',
  },
}
SCSS
$custom: #c8c04d;
$custom-light: #dcd284;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c04d",
  "rgb": {
    "r": 200,
    "g": 192,
    "b": 77
  },
  "hsl": {
    "h": 56.098,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.7925,
    "c": 0.1356,
    "h": 105.3
  },
  "luminance": 0.50514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8C04D

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

Preview Lab → · Contrast checker → · Palette generator →

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