#CFCF76#CFCF76

#CFCF76 is a very light, moderate yellow. Relative luminance 0.592; OKLCH L 83.5% C 0.112 H 108.6°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#CFCF76
RGBrgb(207, 207, 118)
HSLhsl(60, 48%, 64%)
HSVhsv(60, 43%, 81%)
CMYKcmyk(0%, 0%, 43%, 18.8%)
CIE-LABlab(81.40, -12.70, 44.08)
CIE-LCHlch(81.40, 45.87, 106.07°)
OKLaboklab(83.52% -0.0357 0.1061)
OKLCHoklch(83.52% 0.112 108.6)
XYZxyz(51.3159, 59.2002, 25.8596)
Luminance0.5920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF76 #7676CF
analogous
#CFA276 #CFCF76 #A2CF76
triadic
#CFCF76 #76CFCF #CF76CF
tetradic
#CFCF76 #76CFA2 #7676CF #CF76A2
square
#CFCF76 #76CFA2 #7676CF #CF76A2
split-complementary
#CFCF76 #76A2CF #A276CF
monochromatic
#969635 #BFBF49 #CFCF76 #DFDFA3 #EFEFD1

Accessibility & contrast

On white

1.64
#CFCF76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#CFCF76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF76
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF76#FFFFFF#000000##000000
##CFCF761.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC86F
Deuteranopia (green-blind)
#DDCC7A
Tritanopia (blue-blind)
#DAC5BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfcf76;
/* rgb */ color: rgb(207, 207, 118);
/* oklch */ color: oklch(83.5% 0.112 108.6);
Tailwind
colors: {
  custom: {
    50: '#dfdd9f',
    500: '#cfcf76',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf76;
$custom-light: #dfdd9f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf76",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 118
  },
  "hsl": {
    "h": 60,
    "s": 48.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.83524,
    "c": 0.11198,
    "h": 108.6
  },
  "luminance": 0.59199
}

Semantic roles & 50–950 ramp

primary
#CFCF76
secondary
#4D4D9C
accent
#2ABB2A
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFCF76

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

Preview Lab → · Contrast checker → · Palette generator →

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