#C8C72A#C8C72A

#C8C72A is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.5% C 0.164 H 109.2°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#C8C72A
RGBrgb(200, 199, 42)
HSLhsl(60, 65%, 47%)
HSVhsv(60, 79%, 78%)
CMYKcmyk(0%, 0.5%, 79%, 21.6%)
CIE-LABlab(78.05, -16.66, 71.55)
CIE-LCHlch(78.05, 73.46, 103.11°)
OKLaboklab(80.51% -0.054 0.1551)
OKLCHoklch(80.51% 0.164 109.2)
XYZxyz(44.6625, 53.2948, 10.1243)
Luminance0.5329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C72A #2A2BC8
analogous
#C8782A #C8C72A #7AC82A
triadic
#C8C72A #2AC8C7 #C72AC8
tetradic
#C8C72A #2AC878 #2A2BC8 #C82A7A
square
#C8C72A #2AC878 #2A2BC8 #C82A7A
split-complementary
#C8C72A #2A7AC8 #782AC8
monochromatic
#636215 #95951F #C8C72A #DBDA54 #E6E587

Accessibility & contrast

On white

1.80
#C8C72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#C8C72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C72A
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C72A#FFFFFF#000000##000000
##C8C72A1.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BE00
Deuteranopia (green-blind)
#DAC338
Tritanopia (blue-blind)
#D7BAAB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c8c72a;
/* rgb */ color: rgb(200, 199, 42);
/* oklch */ color: oklch(80.5% 0.164 109.2);
Tailwind
colors: {
  custom: {
    50: '#ddd772',
    500: '#c8c72a',
    950: '#000000',
  },
}
SCSS
$custom: #c8c72a;
$custom-light: #ddd772;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c72a",
  "rgb": {
    "r": 200,
    "g": 199,
    "b": 42
  },
  "hsl": {
    "h": 59.62,
    "s": 65.289,
    "l": 47.451
  },
  "oklch": {
    "l": 0.80506,
    "c": 0.16425,
    "h": 109.2
  },
  "luminance": 0.53293
}

Semantic roles & 50–950 ramp

primary
#C8C72A
secondary
#29296D
accent
#41E840
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C8C72A

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

Preview Lab → · Contrast checker → · Palette generator →

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