#C8C843#C8C843

#C8C843 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 80.9% C 0.151 H 109.3°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#C8C843
RGBrgb(200, 200, 67)
HSLhsl(60, 55%, 52%)
HSVhsv(60, 67%, 78%)
CMYKcmyk(0%, 0%, 66.5%, 21.6%)
CIE-LABlab(78.46, -16.05, 63.54)
CIE-LCHlch(78.46, 65.53, 104.17°)
OKLaboklab(80.88% -0.05 0.1425)
OKLCHoklch(80.88% 0.151 109.3)
XYZxyz(45.4883, 53.9945, 13.3349)
Luminance0.5399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C843 #4343C8
analogous
#C88643 #C8C843 #86C843
triadic
#C8C843 #43C8C8 #C843C8
tetradic
#C8C843 #43C886 #4343C8 #C84386
square
#C8C843 #43C886 #4343C8 #C84386
split-complementary
#C8C843 #4386C8 #8643C8
monochromatic
#707021 #9F9F2F #C8C843 #D6D672 #E4E4A2

Accessibility & contrast

On white

1.78
#C8C843 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#C8C843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C843
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C843#FFFFFF#000000##000000
##C8C8431.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C030
Deuteranopia (green-blind)
#D9C44C
Tritanopia (blue-blind)
#D6BCAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c8c843;
/* rgb */ color: rgb(200, 200, 67);
/* oklch */ color: oklch(80.9% 0.151 109.3);
Tailwind
colors: {
  custom: {
    50: '#dcd87f',
    500: '#c8c843',
    950: '#000000',
  },
}
SCSS
$custom: #c8c843;
$custom-light: #dcd87f;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c843",
  "rgb": {
    "r": 200,
    "g": 200,
    "b": 67
  },
  "hsl": {
    "h": 60,
    "s": 54.733,
    "l": 52.353
  },
  "oklch": {
    "l": 0.80878,
    "c": 0.15106,
    "h": 109.3
  },
  "luminance": 0.53993
}

Semantic roles & 50–950 ramp

primary
#C8C843
secondary
#363679
accent
#4ADE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C8C843

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

Preview Lab → · Contrast checker → · Palette generator →

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