#C8C72E#C8C72E

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

Color values

HEX#C8C72E
RGBrgb(200, 199, 46)
HSLhsl(60, 63%, 48%)
HSVhsv(60, 77%, 78%)
CMYKcmyk(0%, 0.5%, 77%, 21.6%)
CIE-LABlab(78.07, -16.52, 70.41)
CIE-LCHlch(78.07, 72.32, 103.20°)
OKLaboklab(80.53% -0.0533 0.1534)
OKLCHoklch(80.53% 0.162 109.2)
XYZxyz(44.7377, 53.3249, 10.5204)
Luminance0.5332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C72E #2E2FC8
analogous
#C87A2E #C8C72E #7CC82E
triadic
#C8C72E #2EC8C7 #C72EC8
tetradic
#C8C72E #2EC87A #2E2FC8 #C82E7C
square
#C8C72E #2EC87A #2E2FC8 #C82E7C
split-complementary
#C8C72E #2E7CC8 #7A2EC8
monochromatic
#646417 #969523 #C8C72E #D9D85A #E5E48C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8C72E#FFFFFF#000000##000000
##C8C72E1.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)
#D9C33B
Tritanopia (blue-blind)
#D7BAAB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c8c72e;
/* rgb */ color: rgb(200, 199, 46);
/* oklch */ color: oklch(80.5% 0.162 109.2);
Tailwind
colors: {
  custom: {
    50: '#ddd774',
    500: '#c8c72e',
    950: '#000000',
  },
}
SCSS
$custom: #c8c72e;
$custom-light: #ddd774;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c72e",
  "rgb": {
    "r": 200,
    "g": 199,
    "b": 46
  },
  "hsl": {
    "h": 59.61,
    "s": 62.602,
    "l": 48.235
  },
  "oklch": {
    "l": 0.80526,
    "c": 0.16241,
    "h": 109.2
  },
  "luminance": 0.53323
}

Semantic roles & 50–950 ramp

primary
#C8C72E
secondary
#2B2C6F
accent
#43E642
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C8C72E

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

Preview Lab → · Contrast checker → · Palette generator →

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