#C8C43E#C8C43E

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

Color values

HEX#C8C43E
RGBrgb(200, 196, 62)
HSLhsl(58, 56%, 51%)
HSVhsv(58, 69%, 78%)
CMYKcmyk(0%, 2%, 69%, 21.6%)
CIE-LABlab(77.35, -14.31, 64.33)
CIE-LCHlch(77.35, 65.90, 102.54°)
OKLaboklab(79.98% -0.0457 0.1434)
OKLCHoklch(79.98% 0.15 107.7)
XYZxyz(44.4305, 52.1085, 12.2740)
Luminance0.5211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C43E #3E42C8
analogous
#C87F3E #C8C43E #87C83E
triadic
#C8C43E #3EC8C4 #C43EC8
tetradic
#C8C43E #3EC87F #3E42C8 #C83E87
square
#C8C43E #3EC87F #3E42C8 #C83E87
split-complementary
#C8C43E #3E87C8 #7F3EC8
monochromatic
#6D6A1F #9C992D #C8C43E #D6D36E #E3E19D

Accessibility & contrast

On white

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

On black

11.42
#C8C43E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C43E
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C43E#FFFFFF#000000##000000
##C8C43E1.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8c43e;
/* rgb */ color: rgb(200, 196, 62);
/* oklch */ color: oklch(80.0% 0.150 107.7);
Tailwind
colors: {
  custom: {
    50: '#dcd57b',
    500: '#c8c43e',
    950: '#000000',
  },
}
SCSS
$custom: #c8c43e;
$custom-light: #dcd57b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c43e",
  "rgb": {
    "r": 200,
    "g": 196,
    "b": 62
  },
  "hsl": {
    "h": 58.261,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.79979,
    "c": 0.15046,
    "h": 107.7
  },
  "luminance": 0.52107
}

Semantic roles & 50–950 ramp

primary
#C8C43E
secondary
#343676
accent
#4DDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C8C43E

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

Preview Lab → · Contrast checker → · Palette generator →

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