#C8C272#C8C272

#C8C272 is a light, moderate yellow. Relative luminance 0.521; OKLCH L 80.1% C 0.102 H 104.7°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#C8C272
RGBrgb(200, 194, 114)
HSLhsl(56, 44%, 62%)
HSVhsv(56, 43%, 78%)
CMYKcmyk(0%, 3%, 43%, 21.6%)
CIE-LABlab(77.33, -9.29, 40.88)
CIE-LCHlch(77.33, 41.92, 102.80°)
OKLaboklab(80.13% -0.0259 0.0988)
OKLCHoklch(80.13% 0.102 104.7)
XYZxyz(46.1494, 52.0790, 23.5376)
Luminance0.5208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C272 #7278C8
analogous
#C89772 #C8C272 #A3C872
triadic
#C8C272 #72C8C2 #C272C8
tetradic
#C8C272 #72C897 #7278C8 #C872A3
square
#C8C272 #72C897 #7278C8 #C872A3
split-complementary
#C8C272 #72A3C8 #9772C8
monochromatic
#8A8436 #B6AE47 #C8C272 #D9D59E #EAE8CA

Accessibility & contrast

On white

1.84
#C8C272 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#C8C272 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C272
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C272#FFFFFF#000000##000000
##C8C2721.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBD6C
Deuteranopia (green-blind)
#D1C175
Tritanopia (blue-blind)
#D3B8AF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c8c272;
/* rgb */ color: rgb(200, 194, 114);
/* oklch */ color: oklch(80.1% 0.102 104.7);
Tailwind
colors: {
  custom: {
    50: '#dad49c',
    500: '#c8c272',
    950: '#000000',
  },
}
SCSS
$custom: #c8c272;
$custom-light: #dad49c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c272",
  "rgb": {
    "r": 200,
    "g": 194,
    "b": 114
  },
  "hsl": {
    "h": 55.814,
    "s": 43.878,
    "l": 61.569
  },
  "oklch": {
    "l": 0.80132,
    "c": 0.10214,
    "h": 104.7
  },
  "luminance": 0.52078
}

Semantic roles & 50–950 ramp

primary
#C8C272
secondary
#4D5291
accent
#38B72E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #C8C272

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

Preview Lab → · Contrast checker → · Palette generator →

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