#C8C043#C8C043

#C8C043 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.2% C 0.143 H 105.7°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#C8C043
RGBrgb(200, 192, 67)
HSLhsl(56, 55%, 52%)
HSVhsv(56, 67%, 78%)
CMYKcmyk(0%, 4%, 66.5%, 21.6%)
CIE-LABlab(76.31, -12.01, 61.34)
CIE-LCHlch(76.31, 62.51, 101.07°)
OKLaboklab(79.16% -0.0387 0.1379)
OKLCHoklch(79.16% 0.143 105.7)
XYZxyz(43.6838, 50.3854, 12.7334)
Luminance0.5038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C043 #434BC8
analogous
#C87E43 #C8C043 #8EC843
triadic
#C8C043 #43C8C0 #C043C8
tetradic
#C8C043 #43C87E #434BC8 #C8438E
square
#C8C043 #43C87E #434BC8 #C8438E
split-complementary
#C8C043 #438EC8 #7E43C8
monochromatic
#706B21 #9F982F #C8C043 #D6D072 #E4E0A2

Accessibility & contrast

On white

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

On black

11.08
#C8C043 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C043
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C043#FFFFFF#000000##000000
##C8C0431.001.9011.0811.08
#FFFFFF1.901.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B932
Deuteranopia (green-blind)
#D3BF4B
Tritanopia (blue-blind)
#D6B4A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c8c043;
/* rgb */ color: rgb(200, 192, 67);
/* oklch */ color: oklch(79.2% 0.143 105.7);
Tailwind
colors: {
  custom: {
    50: '#dcd27e',
    500: '#c8c043',
    950: '#000000',
  },
}
SCSS
$custom: #c8c043;
$custom-light: #dcd27e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c043",
  "rgb": {
    "r": 200,
    "g": 192,
    "b": 67
  },
  "hsl": {
    "h": 56.391,
    "s": 54.733,
    "l": 52.353
  },
  "oklch": {
    "l": 0.79161,
    "c": 0.14321,
    "h": 105.7
  },
  "luminance": 0.50384
}

Semantic roles & 50–950 ramp

primary
#C8C043
secondary
#363A79
accent
#53DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C8C043

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

Preview Lab → · Contrast checker → · Palette generator →

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