#C8C03D#C8C03D

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

Color values

HEX#C8C03D
RGBrgb(200, 192, 61)
HSLhsl(57, 56%, 51%)
HSVhsv(57, 70%, 78%)
CMYKcmyk(0%, 4%, 69.5%, 21.6%)
CIE-LABlab(76.26, -12.33, 63.63)
CIE-LCHlch(76.26, 64.81, 100.97°)
OKLaboklab(79.11% -0.0402 0.1417)
OKLCHoklch(79.11% 0.147 105.8)
XYZxyz(43.5131, 50.3171, 11.8341)
Luminance0.5032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C03D #3D45C8
analogous
#C87A3D #C8C03D #8AC83D
triadic
#C8C03D #3DC8C0 #C03DC8
tetradic
#C8C03D #3DC87A #3D45C8 #C83D8A
square
#C8C03D #3DC87A #3D45C8 #C83D8A
split-complementary
#C8C03D #3D8AC8 #7A3DC8
monochromatic
#6C681F #9C952C #C8C03D #D6CF6D #E3DF9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8C03D#FFFFFF#000000##000000
##C8C03D1.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)
#D0B928
Deuteranopia (green-blind)
#D4BF46
Tritanopia (blue-blind)
#D7B3A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c8c03d;
/* rgb */ color: rgb(200, 192, 61);
/* oklch */ color: oklch(79.1% 0.147 105.8);
Tailwind
colors: {
  custom: {
    50: '#dcd27b',
    500: '#c8c03d',
    950: '#000000',
  },
}
SCSS
$custom: #c8c03d;
$custom-light: #dcd27b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c03d",
  "rgb": {
    "r": 200,
    "g": 192,
    "b": 61
  },
  "hsl": {
    "h": 56.547,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79114,
    "c": 0.14731,
    "h": 105.8
  },
  "luminance": 0.50316
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8C03D

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

Preview Lab → · Contrast checker → · Palette generator →

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