#CFCC77#CFCC77

#CFCC77 is a very light, moderate yellow. Relative luminance 0.578; OKLCH L 82.9% C 0.107 H 106.8°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#CFCC77
RGBrgb(207, 204, 119)
HSLhsl(58, 48%, 64%)
HSVhsv(58, 43%, 81%)
CMYKcmyk(0%, 1.4%, 42.5%, 18.8%)
CIE-LABlab(80.62, -11.08, 42.61)
CIE-LCHlch(80.62, 44.02, 104.57°)
OKLaboklab(82.91% -0.031 0.1029)
OKLCHoklch(82.91% 0.107 106.8)
XYZxyz(50.6557, 57.7842, 25.9342)
Luminance0.5778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC77 #777ACF
analogous
#CFA077 #CFCC77 #A6CF77
triadic
#CFCC77 #77CFCC #CC77CF
tetradic
#CFCC77 #77CFA0 #777ACF #CF77A6
square
#CFCC77 #77CFA0 #777ACF #CF77A6
split-complementary
#CFCC77 #77A6CF #A077CF
monochromatic
#969335 #BFBB4A #CFCC77 #DFDDA4 #EFEED1

Accessibility & contrast

On white

1.67
#CFCC77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#CFCC77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC77
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC77#FFFFFF#000000##000000
##CFCC771.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C670
Deuteranopia (green-blind)
#DBCA7B
Tritanopia (blue-blind)
#DAC2B8
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfcc77;
/* rgb */ color: rgb(207, 204, 119);
/* oklch */ color: oklch(82.9% 0.107 106.8);
Tailwind
colors: {
  custom: {
    50: '#dfdb9f',
    500: '#cfcc77',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc77;
$custom-light: #dfdb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc77",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 119
  },
  "hsl": {
    "h": 57.955,
    "s": 47.826,
    "l": 63.922
  },
  "oklch": {
    "l": 0.82905,
    "c": 0.10747,
    "h": 106.8
  },
  "luminance": 0.57783
}

Semantic roles & 50–950 ramp

primary
#CFCC77
secondary
#4E519C
accent
#2FBB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFCC77

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

Preview Lab → · Contrast checker → · Palette generator →

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