#CFC976#CFC976

#CFC976 is a very light, moderate yellow. Relative luminance 0.563; OKLCH L 82.3% C 0.105 H 104.9°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#CFC976
RGBrgb(207, 201, 118)
HSLhsl(56, 48%, 64%)
HSVhsv(56, 43%, 81%)
CMYKcmyk(0%, 2.9%, 43%, 18.8%)
CIE-LABlab(79.81, -9.65, 42.10)
CIE-LCHlch(79.81, 43.19, 102.91°)
OKLaboklab(82.26% -0.027 0.1017)
OKLCHoklch(82.26% 0.105 104.9)
XYZxyz(49.8898, 56.3480, 25.3842)
Luminance0.5635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC976 #767CCF
analogous
#CF9C76 #CFC976 #A8CF76
triadic
#CFC976 #76CFC9 #C976CF
tetradic
#CFC976 #76CF9C #767CCF #CF76A8
square
#CFC976 #76CF9C #767CCF #CF76A8
split-complementary
#CFC976 #76A8CF #9C76CF
monochromatic
#968F35 #BFB749 #CFC976 #DFDBA3 #EFEDD1

Accessibility & contrast

On white

1.71
#CFC976 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#CFC976 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC976
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC976#FFFFFF#000000##000000
##CFC9761.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C36F
Deuteranopia (green-blind)
#D9C87A
Tritanopia (blue-blind)
#DBBFB5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfc976;
/* rgb */ color: rgb(207, 201, 118);
/* oklch */ color: oklch(82.3% 0.105 104.9);
Tailwind
colors: {
  custom: {
    50: '#dfd99f',
    500: '#cfc976',
    950: '#000000',
  },
}
SCSS
$custom: #cfc976;
$custom-light: #dfd99f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc976",
  "rgb": {
    "r": 207,
    "g": 201,
    "b": 118
  },
  "hsl": {
    "h": 55.955,
    "s": 48.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.8226,
    "c": 0.10522,
    "h": 104.9
  },
  "luminance": 0.56347
}

Semantic roles & 50–950 ramp

primary
#CFC976
secondary
#4D539C
accent
#34BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC976

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

Preview Lab → · Contrast checker → · Palette generator →

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