#C8C03E#C8C03E

#C8C03E 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.07:1 contrast (WCAG AA passes).

Color values

HEX#C8C03E
RGBrgb(200, 192, 62)
HSLhsl(57, 56%, 51%)
HSVhsv(57, 69%, 78%)
CMYKcmyk(0%, 4%, 69%, 21.6%)
CIE-LABlab(76.27, -12.28, 63.26)
CIE-LCHlch(76.27, 64.44, 100.98°)
OKLaboklab(79.12% -0.0399 0.1411)
OKLCHoklch(79.12% 0.147 105.8)
XYZxyz(43.5403, 50.3280, 11.9773)
Luminance0.5033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C03E #3E46C8
analogous
#C87B3E #C8C03E #8BC83E
triadic
#C8C03E #3EC8C0 #C03EC8
tetradic
#C8C03E #3EC87B #3E46C8 #C83E8B
square
#C8C03E #3EC87B #3E46C8 #C83E8B
split-complementary
#C8C03E #3E8BC8 #7B3EC8
monochromatic
#6D681F #9C962D #C8C03E #D6D06E #E3DF9D

Accessibility & contrast

On white

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

On black

11.07
#C8C03E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C03E
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C03E#FFFFFF#000000##000000
##C8C03E1.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8c03e;
/* rgb */ color: rgb(200, 192, 62);
/* oklch */ color: oklch(79.1% 0.147 105.8);
Tailwind
colors: {
  custom: {
    50: '#dcd27b',
    500: '#c8c03e',
    950: '#000000',
  },
}
SCSS
$custom: #c8c03e;
$custom-light: #dcd27b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c03e",
  "rgb": {
    "r": 200,
    "g": 192,
    "b": 62
  },
  "hsl": {
    "h": 56.522,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.79122,
    "c": 0.14665,
    "h": 105.8
  },
  "luminance": 0.50326
}

Semantic roles & 50–950 ramp

primary
#C8C03E
secondary
#343876
accent
#52DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C8C03E

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

Preview Lab → · Contrast checker → · Palette generator →

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