#C8C142#C8C142

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

Color values

HEX#C8C142
RGBrgb(200, 193, 66)
HSLhsl(57, 55%, 52%)
HSVhsv(57, 67%, 78%)
CMYKcmyk(0%, 3.5%, 67%, 21.6%)
CIE-LABlab(76.57, -12.57, 62.01)
CIE-LCHlch(76.57, 63.27, 101.46°)
OKLaboklab(79.37% -0.0404 0.1391)
OKLCHoklch(79.37% 0.145 106.2)
XYZxyz(43.8744, 50.8142, 12.6502)
Luminance0.5081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C142 #4249C8
analogous
#C87E42 #C8C142 #8CC842
triadic
#C8C142 #42C8C1 #C142C8
tetradic
#C8C142 #42C87E #4249C8 #C8428C
square
#C8C142 #42C87E #4249C8 #C8428C
split-complementary
#C8C142 #428CC8 #7E42C8
monochromatic
#6F6B20 #9F992E #C8C142 #D6D171 #E4E0A1

Accessibility & contrast

On white

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

On black

11.16
#C8C142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C142
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C142#FFFFFF#000000##000000
##C8C1421.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA30
Deuteranopia (green-blind)
#D4BF4A
Tritanopia (blue-blind)
#D6B4A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c8c142;
/* rgb */ color: rgb(200, 193, 66);
/* oklch */ color: oklch(79.4% 0.145 106.2);
Tailwind
colors: {
  custom: {
    50: '#dcd37d',
    500: '#c8c142',
    950: '#000000',
  },
}
SCSS
$custom: #c8c142;
$custom-light: #dcd37d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c142",
  "rgb": {
    "r": 200,
    "g": 193,
    "b": 66
  },
  "hsl": {
    "h": 56.866,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79366,
    "c": 0.14487,
    "h": 106.2
  },
  "luminance": 0.50813
}

Semantic roles & 50–950 ramp

primary
#C8C142
secondary
#363979
accent
#51DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C8C142

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

Preview Lab → · Contrast checker → · Palette generator →

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