#C8C143#C8C143

#C8C143 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.4% C 0.144 H 106.2°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#C8C143
RGBrgb(200, 193, 67)
HSLhsl(57, 55%, 52%)
HSVhsv(57, 67%, 78%)
CMYKcmyk(0%, 3.5%, 66.5%, 21.6%)
CIE-LABlab(76.57, -12.52, 61.62)
CIE-LCHlch(76.57, 62.88, 101.48°)
OKLaboklab(79.37% -0.0401 0.1385)
OKLCHoklch(79.37% 0.144 106.2)
XYZxyz(43.9041, 50.8261, 12.8068)
Luminance0.5082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C143 #434AC8
analogous
#C87E43 #C8C143 #8DC843
triadic
#C8C143 #43C8C1 #C143C8
tetradic
#C8C143 #43C87E #434AC8 #C8438D
square
#C8C143 #43C87E #434AC8 #C8438D
split-complementary
#C8C143 #438DC8 #7E43C8
monochromatic
#706C21 #9F992F #C8C143 #D6D172 #E4E0A2

Accessibility & contrast

On white

1.88
#C8C143 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#C8C143 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C143
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C143#FFFFFF#000000##000000
##C8C1431.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA31
Deuteranopia (green-blind)
#D4BF4B
Tritanopia (blue-blind)
#D6B5A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c8c143;
/* rgb */ color: rgb(200, 193, 67);
/* oklch */ color: oklch(79.4% 0.144 106.2);
Tailwind
colors: {
  custom: {
    50: '#dcd37e',
    500: '#c8c143',
    950: '#000000',
  },
}
SCSS
$custom: #c8c143;
$custom-light: #dcd37e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c143",
  "rgb": {
    "r": 200,
    "g": 193,
    "b": 67
  },
  "hsl": {
    "h": 56.842,
    "s": 54.733,
    "l": 52.353
  },
  "oklch": {
    "l": 0.79374,
    "c": 0.14416,
    "h": 106.2
  },
  "luminance": 0.50825
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8C143

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

Preview Lab → · Contrast checker → · Palette generator →

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