#CFCF77#CFCF77

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

Color values

HEX#CFCF77
RGBrgb(207, 207, 119)
HSLhsl(60, 48%, 64%)
HSVhsv(60, 43%, 81%)
CMYKcmyk(0%, 0%, 42.5%, 18.8%)
CIE-LABlab(81.41, -12.60, 43.60)
CIE-LCHlch(81.41, 45.38, 106.11°)
OKLaboklab(83.54% -0.0353 0.1051)
OKLCHoklch(83.54% 0.111 108.6)
XYZxyz(51.3756, 59.2241, 26.1742)
Luminance0.5922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF77 #7777CF
analogous
#CFA377 #CFCF77 #A3CF77
triadic
#CFCF77 #77CFCF #CF77CF
tetradic
#CFCF77 #77CFA3 #7777CF #CF77A3
square
#CFCF77 #77CFA3 #7777CF #CF77A3
split-complementary
#CFCF77 #77A3CF #A377CF
monochromatic
#969635 #BFBF4A #CFCF77 #DFDFA4 #EFEFD1

Accessibility & contrast

On white

1.63
#CFCF77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCF77#FFFFFF#000000##000000
##CFCF771.001.6312.8412.84
#FFFFFF1.631.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfcf77;
/* rgb */ color: rgb(207, 207, 119);
/* oklch */ color: oklch(83.5% 0.111 108.6);
Tailwind
colors: {
  custom: {
    50: '#dfdda0',
    500: '#cfcf77',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf77;
$custom-light: #dfdda0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf77",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 119
  },
  "hsl": {
    "h": 60,
    "s": 47.826,
    "l": 63.922
  },
  "oklch": {
    "l": 0.83538,
    "c": 0.11091,
    "h": 108.6
  },
  "luminance": 0.59223
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFCF77

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

Preview Lab → · Contrast checker → · Palette generator →

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