#CFCD79#CFCD79

#CFCD79 is a very light, moderate yellow. Relative luminance 0.583; OKLCH L 83.1% C 0.106 H 107.3°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#CFCD79
RGBrgb(207, 205, 121)
HSLhsl(59, 47%, 64%)
HSVhsv(59, 42%, 81%)
CMYKcmyk(0%, 1%, 41.5%, 18.8%)
CIE-LABlab(80.91, -11.38, 41.98)
CIE-LCHlch(80.91, 43.49, 105.16°)
OKLaboklab(83.15% -0.0317 0.1016)
OKLCHoklch(83.15% 0.106 107.3)
XYZxyz(51.0155, 58.3097, 26.6530)
Luminance0.5831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD79 #797BCF
analogous
#CFA279 #CFCD79 #A6CF79
triadic
#CFCD79 #79CFCD #CD79CF
tetradic
#CFCD79 #79CFA2 #797BCF #CF79A6
square
#CFCD79 #79CFA2 #797BCF #CF79A6
split-complementary
#CFCD79 #79A6CF #A279CF
monochromatic
#979536 #BFBC4C #CFCD79 #DFDEA6 #EFEFD3

Accessibility & contrast

On white

1.66
#CFCD79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#CFCD79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD79
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD79#FFFFFF#000000##000000
##CFCD791.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC772
Deuteranopia (green-blind)
#DBCB7D
Tritanopia (blue-blind)
#DAC3B9
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcd79;
/* rgb */ color: rgb(207, 205, 121);
/* oklch */ color: oklch(83.1% 0.106 107.3);
Tailwind
colors: {
  custom: {
    50: '#dfdca1',
    500: '#cfcd79',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd79;
$custom-light: #dfdca1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd79",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 121
  },
  "hsl": {
    "h": 58.605,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.83146,
    "c": 0.10643,
    "h": 107.3
  },
  "luminance": 0.58309
}

Semantic roles & 50–950 ramp

primary
#CFCD79
secondary
#4F519D
accent
#2EBB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFCD79

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

Preview Lab → · Contrast checker → · Palette generator →

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