#C8C03C#C8C03C

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

Color values

HEX#C8C03C
RGBrgb(200, 192, 60)
HSLhsl(57, 56%, 51%)
HSVhsv(57, 70%, 78%)
CMYKcmyk(0%, 4%, 70%, 21.6%)
CIE-LABlab(76.26, -12.38, 64.00)
CIE-LCHlch(76.26, 65.18, 100.95°)
OKLaboklab(79.11% -0.0404 0.1423)
OKLCHoklch(79.11% 0.148 105.9)
XYZxyz(43.4864, 50.3065, 11.6935)
Luminance0.5030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C03C #3C44C8
analogous
#C87A3C #C8C03C #8AC83C
triadic
#C8C03C #3CC8C0 #C03CC8
tetradic
#C8C03C #3CC87A #3C44C8 #C83C8A
square
#C8C03C #3CC87A #3C44C8 #C83C8A
split-complementary
#C8C03C #3C8AC8 #7A3CC8
monochromatic
#6B671E #9B952C #C8C03C #D5CF6C #E3DF9B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8C03C#FFFFFF#000000##000000
##C8C03C1.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)
#D0B927
Deuteranopia (green-blind)
#D4BF45
Tritanopia (blue-blind)
#D7B3A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c8c03c;
/* rgb */ color: rgb(200, 192, 60);
/* oklch */ color: oklch(79.1% 0.148 105.9);
Tailwind
colors: {
  custom: {
    50: '#dcd27a',
    500: '#c8c03c',
    950: '#000000',
  },
}
SCSS
$custom: #c8c03c;
$custom-light: #dcd27a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c03c",
  "rgb": {
    "r": 200,
    "g": 192,
    "b": 60
  },
  "hsl": {
    "h": 56.571,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.79107,
    "c": 0.14795,
    "h": 105.9
  },
  "luminance": 0.50305
}

Semantic roles & 50–950 ramp

primary
#C8C03C
secondary
#333775
accent
#51DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C8C03C

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

Preview Lab → · Contrast checker → · Palette generator →

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