#C8C04A#C8C04A

#C8C04A is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.2% C 0.138 H 105.4°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#C8C04A
RGBrgb(200, 192, 74)
HSLhsl(56, 53%, 54%)
HSVhsv(56, 63%, 78%)
CMYKcmyk(0%, 4%, 63%, 21.6%)
CIE-LABlab(76.36, -11.59, 58.52)
CIE-LCHlch(76.36, 59.66, 101.20°)
OKLaboklab(79.22% -0.0367 0.133)
OKLCHoklch(79.22% 0.138 105.4)
XYZxyz(43.9067, 50.4746, 13.9070)
Luminance0.5047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C04A #4A52C8
analogous
#C8814A #C8C04A #91C84A
triadic
#C8C04A #4AC8C0 #C04AC8
tetradic
#C8C04A #4AC881 #4A52C8 #C84A91
square
#C8C04A #4AC881 #4A52C8 #C84A91
split-complementary
#C8C04A #4A91C8 #814AC8
monochromatic
#746F23 #A39C32 #C8C04A #D6D079 #E5E1A8

Accessibility & contrast

On white

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

On black

11.09
#C8C04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C04A
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C04A#FFFFFF#000000##000000
##C8C04A1.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B93B
Deuteranopia (green-blind)
#D3BF51
Tritanopia (blue-blind)
#D6B4A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c8c04a;
/* rgb */ color: rgb(200, 192, 74);
/* oklch */ color: oklch(79.2% 0.138 105.4);
Tailwind
colors: {
  custom: {
    50: '#dcd282',
    500: '#c8c04a',
    950: '#000000',
  },
}
SCSS
$custom: #c8c04a;
$custom-light: #dcd282;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c04a",
  "rgb": {
    "r": 200,
    "g": 192,
    "b": 74
  },
  "hsl": {
    "h": 56.19,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.79221,
    "c": 0.13798,
    "h": 105.4
  },
  "luminance": 0.50473
}

Semantic roles & 50–950 ramp

primary
#C8C04A
secondary
#393D7D
accent
#54DD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8C04A

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

Preview Lab → · Contrast checker → · Palette generator →

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