#CFC076#CFC076

#CFC076 is a light, moderate yellow. Relative luminance 0.523; OKLCH L 80.4% C 0.096 H 98.2°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#CFC076
RGBrgb(207, 192, 118)
HSLhsl(50, 48%, 64%)
HSVhsv(50, 43%, 81%)
CMYKcmyk(0%, 7.2%, 43%, 18.8%)
CIE-LABlab(77.44, -5.01, 39.13)
CIE-LCHlch(77.44, 39.45, 97.30°)
OKLaboklab(80.38% -0.0136 0.095)
OKLCHoklch(80.38% 0.096 98.2)
XYZxyz(47.8529, 52.2743, 24.7053)
Luminance0.5227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC076 #7685CF
analogous
#CF9376 #CFC076 #B1CF76
triadic
#CFC076 #76CFC0 #C076CF
tetradic
#CFC076 #76CF93 #7685CF #CF76B1
square
#CFC076 #76CF93 #7685CF #CF76B1
split-complementary
#CFC076 #76B1CF #9376CF
monochromatic
#968635 #BFAB49 #CFC076 #DFD5A3 #EFEAD1

Accessibility & contrast

On white

1.83
#CFC076 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#CFC076 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC076
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC076#FFFFFF#000000##000000
##CFC0761.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBC70
Deuteranopia (green-blind)
#D2C279
Tritanopia (blue-blind)
#DBB6AE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc076;
/* rgb */ color: rgb(207, 192, 118);
/* oklch */ color: oklch(80.4% 0.096 98.2);
Tailwind
colors: {
  custom: {
    50: '#dfd29e',
    500: '#cfc076',
    950: '#000000',
  },
}
SCSS
$custom: #cfc076;
$custom-light: #dfd29e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc076",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 118
  },
  "hsl": {
    "h": 49.888,
    "s": 48.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.80384,
    "c": 0.09597,
    "h": 98.2
  },
  "luminance": 0.52273
}

Semantic roles & 50–950 ramp

primary
#CFC076
secondary
#4D5B9C
accent
#43BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC076

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

Preview Lab → · Contrast checker → · Palette generator →

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