#CFC779#CFC779

#CFC779 is a light, moderate yellow. Relative luminance 0.555; OKLCH L 81.9% C 0.100 H 103.3°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#CFC779
RGBrgb(207, 199, 121)
HSLhsl(54, 47%, 64%)
HSVhsv(54, 42%, 81%)
CMYKcmyk(0%, 3.9%, 41.5%, 18.8%)
CIE-LABlab(79.33, -8.31, 39.98)
CIE-LCHlch(79.33, 40.84, 101.75°)
OKLaboklab(81.89% -0.0229 0.0971)
OKLCHoklch(81.89% 0.1 103.3)
XYZxyz(49.6077, 55.4941, 26.1837)
Luminance0.5549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC779 #7981CF
analogous
#CF9C79 #CFC779 #ACCF79
triadic
#CFC779 #79CFC7 #C779CF
tetradic
#CFC779 #79CF9C #7981CF #CF79AC
square
#CFC779 #79CF9C #7981CF #CF79AC
split-complementary
#CFC779 #79ACCF #9C79CF
monochromatic
#978E36 #BFB44C #CFC779 #DFDAA6 #EFEDD3

Accessibility & contrast

On white

1.74
#CFC779 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#CFC779 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC779
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC779#FFFFFF#000000##000000
##CFC7791.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C273
Deuteranopia (green-blind)
#D7C67C
Tritanopia (blue-blind)
#DBBDB4
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc779;
/* rgb */ color: rgb(207, 199, 121);
/* oklch */ color: oklch(81.9% 0.100 103.3);
Tailwind
colors: {
  custom: {
    50: '#dfd7a1',
    500: '#cfc779',
    950: '#000000',
  },
}
SCSS
$custom: #cfc779;
$custom-light: #dfd7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc779",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 121
  },
  "hsl": {
    "h": 54.419,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.81887,
    "c": 0.09976,
    "h": 103.3
  },
  "luminance": 0.55493
}

Semantic roles & 50–950 ramp

primary
#CFC779
secondary
#4F569D
accent
#38BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC779

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

Preview Lab → · Contrast checker → · Palette generator →

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