#CFC679#CFC679

#CFC679 is a light, moderate yellow. Relative luminance 0.550; OKLCH L 81.7% C 0.099 H 102.5°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#CFC679
RGBrgb(207, 198, 121)
HSLhsl(54, 47%, 64%)
HSVhsv(54, 42%, 81%)
CMYKcmyk(0%, 4.3%, 41.5%, 18.8%)
CIE-LABlab(79.06, -7.80, 39.65)
CIE-LCHlch(79.06, 40.41, 101.13°)
OKLaboklab(81.68% -0.0214 0.0964)
OKLCHoklch(81.68% 0.099 102.5)
XYZxyz(49.3784, 55.0354, 26.1072)
Luminance0.5503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC679 #7982CF
analogous
#CF9B79 #CFC679 #ADCF79
triadic
#CFC679 #79CFC6 #C679CF
tetradic
#CFC679 #79CF9B #7982CF #CF79AD
square
#CFC679 #79CF9B #7982CF #CF79AD
split-complementary
#CFC679 #79ADCF #9B79CF
monochromatic
#978D36 #BFB34C #CFC679 #DFD9A6 #EFECD3

Accessibility & contrast

On white

1.75
#CFC679 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#CFC679 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC679
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC679#FFFFFF#000000##000000
##CFC6791.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C173
Deuteranopia (green-blind)
#D6C67C
Tritanopia (blue-blind)
#DBBCB3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc679;
/* rgb */ color: rgb(207, 198, 121);
/* oklch */ color: oklch(81.7% 0.099 102.5);
Tailwind
colors: {
  custom: {
    50: '#dfd7a1',
    500: '#cfc679',
    950: '#000000',
  },
}
SCSS
$custom: #cfc679;
$custom-light: #dfd7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc679",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 121
  },
  "hsl": {
    "h": 53.721,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.81678,
    "c": 0.0987,
    "h": 102.5
  },
  "luminance": 0.55034
}

Semantic roles & 50–950 ramp

primary
#CFC679
secondary
#4F579D
accent
#3ABB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC679

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

Preview Lab → · Contrast checker → · Palette generator →

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