#C8C672#C8C672

#C8C672 is a light, moderate yellow. Relative luminance 0.539; OKLCH L 81.0% C 0.107 H 107.4°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#C8C672
RGBrgb(200, 198, 114)
HSLhsl(59, 44%, 62%)
HSVhsv(59, 43%, 78%)
CMYKcmyk(0%, 1%, 43%, 21.6%)
CIE-LABlab(78.39, -11.34, 42.21)
CIE-LCHlch(78.39, 43.70, 105.04°)
OKLaboklab(80.98% -0.0318 0.1018)
OKLCHoklch(80.98% 0.107 107.4)
XYZxyz(47.0516, 53.8835, 23.8383)
Luminance0.5388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C672 #7274C8
analogous
#C89B72 #C8C672 #9FC872
triadic
#C8C672 #72C8C6 #C672C8
tetradic
#C8C672 #72C89B #7274C8 #C8729F
square
#C8C672 #72C89B #7274C8 #C8729F
split-complementary
#C8C672 #729FC8 #9B72C8
monochromatic
#8A8836 #B6B347 #C8C672 #D9D89E #EAEACA

Accessibility & contrast

On white

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

On black

11.78
#C8C672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C672
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C672#FFFFFF#000000##000000
##C8C6721.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C06B
Deuteranopia (green-blind)
#D4C476
Tritanopia (blue-blind)
#D3BCB2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c8c672;
/* rgb */ color: rgb(200, 198, 114);
/* oklch */ color: oklch(81.0% 0.107 107.4);
Tailwind
colors: {
  custom: {
    50: '#dad79c',
    500: '#c8c672',
    950: '#000000',
  },
}
SCSS
$custom: #c8c672;
$custom-light: #dad79c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c672",
  "rgb": {
    "r": 200,
    "g": 198,
    "b": 114
  },
  "hsl": {
    "h": 58.605,
    "s": 43.878,
    "l": 61.569
  },
  "oklch": {
    "l": 0.80978,
    "c": 0.10663,
    "h": 107.4
  },
  "luminance": 0.53882
}

Semantic roles & 50–950 ramp

primary
#C8C672
secondary
#4D4F91
accent
#32B72E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #C8C672

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

Preview Lab → · Contrast checker → · Palette generator →

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