#CFC776#CFC776

#CFC776 is a light, moderate yellow. Relative luminance 0.554; OKLCH L 81.8% C 0.103 H 103.5°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#CFC776
RGBrgb(207, 199, 118)
HSLhsl(55, 48%, 64%)
HSVhsv(55, 43%, 81%)
CMYKcmyk(0%, 3.9%, 43%, 18.8%)
CIE-LABlab(79.28, -8.63, 41.44)
CIE-LCHlch(79.28, 42.33, 101.76°)
OKLaboklab(81.84% -0.024 0.1002)
OKLCHoklch(81.84% 0.103 103.5)
XYZxyz(49.4266, 55.4216, 25.2298)
Luminance0.5542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC776 #767ECF
analogous
#CF9A76 #CFC776 #AACF76
triadic
#CFC776 #76CFC7 #C776CF
tetradic
#CFC776 #76CF9A #767ECF #CF76AA
square
#CFC776 #76CF9A #767ECF #CF76AA
split-complementary
#CFC776 #76AACF #9A76CF
monochromatic
#968D35 #BFB449 #CFC776 #DFDAA3 #EFECD1

Accessibility & contrast

On white

1.74
#CFC776 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#CFC776 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC776
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC776#FFFFFF#000000##000000
##CFC7761.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C270
Deuteranopia (green-blind)
#D7C679
Tritanopia (blue-blind)
#DBBDB3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc776;
/* rgb */ color: rgb(207, 199, 118);
/* oklch */ color: oklch(81.8% 0.103 103.5);
Tailwind
colors: {
  custom: {
    50: '#dfd79f',
    500: '#cfc776',
    950: '#000000',
  },
}
SCSS
$custom: #cfc776;
$custom-light: #dfd79f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc776",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 118
  },
  "hsl": {
    "h": 54.607,
    "s": 48.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.81841,
    "c": 0.10306,
    "h": 103.5
  },
  "luminance": 0.5542
}

Semantic roles & 50–950 ramp

primary
#CFC776
secondary
#4D549C
accent
#37BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC776

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

Preview Lab → · Contrast checker → · Palette generator →

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