#CFC176#CFC176

#CFC176 is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.6% C 0.097 H 99.0°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#CFC176
RGBrgb(207, 193, 118)
HSLhsl(51, 48%, 64%)
HSVhsv(51, 43%, 81%)
CMYKcmyk(0%, 6.8%, 43%, 18.8%)
CIE-LABlab(77.71, -5.53, 39.46)
CIE-LCHlch(77.71, 39.84, 97.98°)
OKLaboklab(80.59% -0.0151 0.0958)
OKLCHoklch(80.59% 0.097 99)
XYZxyz(48.0732, 52.7149, 24.7787)
Luminance0.5271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC176 #7684CF
analogous
#CF9476 #CFC176 #B0CF76
triadic
#CFC176 #76CFC1 #C176CF
tetradic
#CFC176 #76CF94 #7684CF #CF76B0
square
#CFC176 #76CF94 #7684CF #CF76B0
split-complementary
#CFC176 #76B0CF #9476CF
monochromatic
#968735 #BFAC49 #CFC176 #DFD6A3 #EFEAD1

Accessibility & contrast

On white

1.82
#CFC176 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#CFC176 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC176
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC176#FFFFFF#000000##000000
##CFC1761.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBD70
Deuteranopia (green-blind)
#D2C279
Tritanopia (blue-blind)
#DBB7AF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc176;
/* rgb */ color: rgb(207, 193, 118);
/* oklch */ color: oklch(80.6% 0.097 99.0);
Tailwind
colors: {
  custom: {
    50: '#dfd39e',
    500: '#cfc176',
    950: '#000000',
  },
}
SCSS
$custom: #cfc176;
$custom-light: #dfd39e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc176",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 118
  },
  "hsl": {
    "h": 50.562,
    "s": 48.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.80591,
    "c": 0.09693,
    "h": 99
  },
  "luminance": 0.52713
}

Semantic roles & 50–950 ramp

primary
#CFC176
secondary
#4D5A9C
accent
#41BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC176

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

Preview Lab → · Contrast checker → · Palette generator →

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