#CFCE79#CFCE79

#CFCE79 is a very light, moderate yellow. Relative luminance 0.588; OKLCH L 83.4% C 0.108 H 107.9°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#CFCE79
RGBrgb(207, 206, 121)
HSLhsl(59, 47%, 64%)
HSVhsv(59, 42%, 81%)
CMYKcmyk(0%, 0.5%, 41.5%, 18.8%)
CIE-LABlab(81.18, -11.88, 42.31)
CIE-LCHlch(81.18, 43.95, 105.69°)
OKLaboklab(83.36% -0.0331 0.1024)
OKLCHoklch(83.36% 0.108 107.9)
XYZxyz(51.2555, 58.7896, 26.7329)
Luminance0.5879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCE79 #797ACF
analogous
#CFA379 #CFCE79 #A5CF79
triadic
#CFCE79 #79CFCE #CE79CF
tetradic
#CFCE79 #79CFA3 #797ACF #CF79A5
square
#CFCE79 #79CFA3 #797ACF #CF79A5
split-complementary
#CFCE79 #79A5CF #A379CF
monochromatic
#979636 #BFBE4C #CFCE79 #DFDEA6 #EFEFD3

Accessibility & contrast

On white

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

On black

12.76
#CFCE79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCE79
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCE79#FFFFFF#000000##000000
##CFCE791.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfce79;
/* rgb */ color: rgb(207, 206, 121);
/* oklch */ color: oklch(83.4% 0.108 107.9);
Tailwind
colors: {
  custom: {
    50: '#dfdca1',
    500: '#cfce79',
    950: '#000000',
  },
}
SCSS
$custom: #cfce79;
$custom-light: #dfdca1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfce79",
  "rgb": {
    "r": 207,
    "g": 206,
    "b": 121
  },
  "hsl": {
    "h": 59.302,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.83357,
    "c": 0.10758,
    "h": 107.9
  },
  "luminance": 0.58788
}

Semantic roles & 50–950 ramp

primary
#CFCE79
secondary
#4F509D
accent
#2DBB2B
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFCE79

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

Preview Lab → · Contrast checker → · Palette generator →

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