#C8C72F#C8C72F

#C8C72F 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.67:1 contrast (WCAG AA passes).

Color values

HEX#C8C72F
RGBrgb(200, 199, 47)
HSLhsl(60, 62%, 48%)
HSVhsv(60, 77%, 78%)
CMYKcmyk(0%, 0.5%, 76.5%, 21.6%)
CIE-LABlab(78.07, -16.48, 70.11)
CIE-LCHlch(78.07, 72.02, 103.23°)
OKLaboklab(80.53% -0.0531 0.153)
OKLCHoklch(80.53% 0.162 109.2)
XYZxyz(44.7576, 53.3329, 10.6254)
Luminance0.5333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C72F #2F30C8
analogous
#C87A2F #C8C72F #7CC82F
triadic
#C8C72F #2FC8C7 #C72FC8
tetradic
#C8C72F #2FC87A #2F30C8 #C82F7C
square
#C8C72F #2FC87A #2F30C8 #C82F7C
split-complementary
#C8C72F #2F7CC8 #7A2FC8
monochromatic
#656418 #969623 #C8C72F #D9D85C #E4E48D

Accessibility & contrast

On white

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

On black

11.67
#C8C72F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C72F
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C72F#FFFFFF#000000##000000
##C8C72F1.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8c72f;
/* rgb */ color: rgb(200, 199, 47);
/* oklch */ color: oklch(80.5% 0.162 109.2);
Tailwind
colors: {
  custom: {
    50: '#ddd774',
    500: '#c8c72f',
    950: '#000000',
  },
}
SCSS
$custom: #c8c72f;
$custom-light: #ddd774;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c72f",
  "rgb": {
    "r": 200,
    "g": 199,
    "b": 47
  },
  "hsl": {
    "h": 59.608,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.80531,
    "c": 0.16192,
    "h": 109.2
  },
  "luminance": 0.53331
}

Semantic roles & 50–950 ramp

primary
#C8C72F
secondary
#2C2C6F
accent
#44E543
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C8C72F

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

Preview Lab → · Contrast checker → · Palette generator →

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