#CFCE77#CFCE77

#CFCE77 is a very light, moderate yellow. Relative luminance 0.587; OKLCH L 83.3% C 0.110 H 108.0°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#CFCE77
RGBrgb(207, 206, 119)
HSLhsl(59, 48%, 64%)
HSVhsv(59, 43%, 81%)
CMYKcmyk(0%, 0.5%, 42.5%, 18.8%)
CIE-LABlab(81.15, -12.09, 43.27)
CIE-LCHlch(81.15, 44.93, 105.61°)
OKLaboklab(83.33% -0.0339 0.1044)
OKLCHoklch(83.33% 0.11 108)
XYZxyz(51.1341, 58.7411, 26.0937)
Luminance0.5874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCE77 #7778CF
analogous
#CFA277 #CFCE77 #A4CF77
triadic
#CFCE77 #77CFCE #CE77CF
tetradic
#CFCE77 #77CFA2 #7778CF #CF77A4
square
#CFCE77 #77CFA2 #7778CF #CF77A4
split-complementary
#CFCE77 #77A4CF #A277CF
monochromatic
#969535 #BFBE4A #CFCE77 #DFDEA4 #EFEFD1

Accessibility & contrast

On white

1.65
#CFCE77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#CFCE77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCE77
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCE77#FFFFFF#000000##000000
##CFCE771.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC870
Deuteranopia (green-blind)
#DCCB7B
Tritanopia (blue-blind)
#DAC4B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfce77;
/* rgb */ color: rgb(207, 206, 119);
/* oklch */ color: oklch(83.3% 0.110 108.0);
Tailwind
colors: {
  custom: {
    50: '#dfdca0',
    500: '#cfce77',
    950: '#000000',
  },
}
SCSS
$custom: #cfce77;
$custom-light: #dfdca0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfce77",
  "rgb": {
    "r": 207,
    "g": 206,
    "b": 119
  },
  "hsl": {
    "h": 59.318,
    "s": 47.826,
    "l": 63.922
  },
  "oklch": {
    "l": 0.83327,
    "c": 0.10975,
    "h": 108
  },
  "luminance": 0.5874
}

Semantic roles & 50–950 ramp

primary
#CFCE77
secondary
#4E4F9C
accent
#2CBB2A
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFCE77

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

Preview Lab → · Contrast checker → · Palette generator →

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