#CFC079#CFC079

#CFC079 is a light, moderate yellow. Relative luminance 0.523; OKLCH L 80.4% C 0.093 H 97.7°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#CFC079
RGBrgb(207, 192, 121)
HSLhsl(50, 47%, 64%)
HSVhsv(50, 42%, 81%)
CMYKcmyk(0%, 7.2%, 41.5%, 18.8%)
CIE-LABlab(77.49, -4.70, 37.65)
CIE-LCHlch(77.49, 37.94, 97.11°)
OKLaboklab(80.43% -0.0124 0.0918)
OKLCHoklch(80.43% 0.093 97.7)
XYZxyz(48.0340, 52.3467, 25.6591)
Luminance0.5234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC079 #7988CF
analogous
#CF9579 #CFC079 #B3CF79
triadic
#CFC079 #79CFC0 #C079CF
tetradic
#CFC079 #79CF95 #7988CF #CF79B3
square
#CFC079 #79CF95 #7988CF #CF79B3
split-complementary
#CFC079 #79B3CF #9579CF
monochromatic
#978636 #BFAB4C #CFC079 #DFD5A6 #EFEAD3

Accessibility & contrast

On white

1.83
#CFC079 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#CFC079 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC079
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC079#FFFFFF#000000##000000
##CFC0791.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBC74
Deuteranopia (green-blind)
#D1C27C
Tritanopia (blue-blind)
#DBB6AE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc079;
/* rgb */ color: rgb(207, 192, 121);
/* oklch */ color: oklch(80.4% 0.093 97.7);
Tailwind
colors: {
  custom: {
    50: '#dfd2a0',
    500: '#cfc079',
    950: '#000000',
  },
}
SCSS
$custom: #cfc079;
$custom-light: #dfd2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc079",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 121
  },
  "hsl": {
    "h": 49.535,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.80432,
    "c": 0.09265,
    "h": 97.7
  },
  "luminance": 0.52345
}

Semantic roles & 50–950 ramp

primary
#CFC079
secondary
#4F5D9D
accent
#44BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC079

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

Preview Lab → · Contrast checker → · Palette generator →

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