#CFC479#CFC479

#CFC479 is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.3% C 0.097 H 101.0°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#CFC479
RGBrgb(207, 196, 121)
HSLhsl(52, 47%, 64%)
HSVhsv(52, 42%, 81%)
CMYKcmyk(0%, 5.3%, 41.5%, 18.8%)
CIE-LABlab(78.54, -6.77, 38.98)
CIE-LCHlch(78.54, 39.57, 99.85°)
OKLaboklab(81.26% -0.0184 0.0948)
OKLCHoklch(81.26% 0.097 101)
XYZxyz(48.9242, 54.1272, 25.9559)
Luminance0.5413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC479 #7984CF
analogous
#CF9979 #CFC479 #AFCF79
triadic
#CFC479 #79CFC4 #C479CF
tetradic
#CFC479 #79CF99 #7984CF #CF79AF
square
#CFC479 #79CF99 #7984CF #CF79AF
split-complementary
#CFC479 #79AFCF #9979CF
monochromatic
#978B36 #BFB04C #CFC479 #DFD8A6 #EFECD3

Accessibility & contrast

On white

1.78
#CFC479 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#CFC479 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC479
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC479#FFFFFF#000000##000000
##CFC4791.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C073
Deuteranopia (green-blind)
#D4C47C
Tritanopia (blue-blind)
#DBBAB2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc479;
/* rgb */ color: rgb(207, 196, 121);
/* oklch */ color: oklch(81.3% 0.097 101.0);
Tailwind
colors: {
  custom: {
    50: '#dfd5a1',
    500: '#cfc479',
    950: '#000000',
  },
}
SCSS
$custom: #cfc479;
$custom-light: #dfd5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc479",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 121
  },
  "hsl": {
    "h": 52.326,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.81262,
    "c": 0.09661,
    "h": 101
  },
  "luminance": 0.54126
}

Semantic roles & 50–950 ramp

primary
#CFC479
secondary
#4F599D
accent
#3DBB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC479

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

Preview Lab → · Contrast checker → · Palette generator →

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