#C8C03A#C8C03A

#C8C03A is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.1% C 0.149 H 105.9°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#C8C03A
RGBrgb(200, 192, 58)
HSLhsl(57, 56%, 51%)
HSVhsv(57, 71%, 78%)
CMYKcmyk(0%, 4%, 71%, 21.6%)
CIE-LABlab(76.24, -12.48, 64.72)
CIE-LCHlch(76.24, 65.91, 100.91°)
OKLaboklab(79.09% -0.0409 0.1435)
OKLCHoklch(79.09% 0.149 105.9)
XYZxyz(43.4345, 50.2857, 11.4203)
Luminance0.5028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C03A #3A42C8
analogous
#C8793A #C8C03A #89C83A
triadic
#C8C03A #3AC8C0 #C03AC8
tetradic
#C8C03A #3AC879 #3A42C8 #C83A89
square
#C8C03A #3AC879 #3A42C8 #C83A89
split-complementary
#C8C03A #3A89C8 #793AC8
monochromatic
#6A661E #9A942B #C8C03A #D5CF6A #E3DF9A

Accessibility & contrast

On white

1.90
#C8C03A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#C8C03A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C03A
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C03A#FFFFFF#000000##000000
##C8C03A1.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B923
Deuteranopia (green-blind)
#D4BF43
Tritanopia (blue-blind)
#D7B3A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c8c03a;
/* rgb */ color: rgb(200, 192, 58);
/* oklch */ color: oklch(79.1% 0.149 105.9);
Tailwind
colors: {
  custom: {
    50: '#dcd279',
    500: '#c8c03a',
    950: '#000000',
  },
}
SCSS
$custom: #c8c03a;
$custom-light: #dcd279;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c03a",
  "rgb": {
    "r": 200,
    "g": 192,
    "b": 58
  },
  "hsl": {
    "h": 56.62,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.79093,
    "c": 0.14922,
    "h": 105.9
  },
  "luminance": 0.50284
}

Semantic roles & 50–950 ramp

primary
#C8C03A
secondary
#323674
accent
#51E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #C8C03A

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

Preview Lab → · Contrast checker → · Palette generator →

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