#C8C43A#C8C43A

#C8C43A is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.0% C 0.153 H 107.7°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#C8C43A
RGBrgb(200, 196, 58)
HSLhsl(58, 56%, 51%)
HSVhsv(58, 71%, 78%)
CMYKcmyk(0%, 2%, 71%, 21.6%)
CIE-LABlab(77.32, -14.50, 65.77)
CIE-LCHlch(77.32, 67.35, 102.44°)
OKLaboklab(79.95% -0.0466 0.1457)
OKLCHoklch(79.95% 0.153 107.7)
XYZxyz(44.3247, 52.0662, 11.7171)
Luminance0.5206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C43A #3A3EC8
analogous
#C87D3A #C8C43A #85C83A
triadic
#C8C43A #3AC8C4 #C43AC8
tetradic
#C8C43A #3AC87D #3A3EC8 #C83A85
square
#C8C43A #3AC87D #3A3EC8 #C83A85
split-complementary
#C8C43A #3A85C8 #7D3AC8
monochromatic
#6A681E #9A972B #C8C43A #D5D26A #E3E19A

Accessibility & contrast

On white

1.84
#C8C43A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#C8C43A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C43A
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C43A#FFFFFF#000000##000000
##C8C43A1.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC22
Deuteranopia (green-blind)
#D7C144
Tritanopia (blue-blind)
#D6B7A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c8c43a;
/* rgb */ color: rgb(200, 196, 58);
/* oklch */ color: oklch(80.0% 0.153 107.7);
Tailwind
colors: {
  custom: {
    50: '#dcd579',
    500: '#c8c43a',
    950: '#000000',
  },
}
SCSS
$custom: #c8c43a;
$custom-light: #dcd579;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c43a",
  "rgb": {
    "r": 200,
    "g": 196,
    "b": 58
  },
  "hsl": {
    "h": 58.31,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.7995,
    "c": 0.15298,
    "h": 107.7
  },
  "luminance": 0.52065
}

Semantic roles & 50–950 ramp

primary
#C8C43A
secondary
#323474
accent
#4CE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #C8C43A

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

Preview Lab → · Contrast checker → · Palette generator →

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