#CFC480#CFC480

#CFC480 is a light, moderate yellow. Relative luminance 0.543; OKLCH L 81.4% C 0.089 H 100.2°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#CFC480
RGBrgb(207, 196, 128)
HSLhsl(52, 45%, 66%)
HSVhsv(52, 38%, 81%)
CMYKcmyk(0%, 5.3%, 38.2%, 18.8%)
CIE-LABlab(78.64, -6.01, 35.54)
CIE-LCHlch(78.64, 36.04, 99.59°)
OKLaboklab(81.38% -0.0157 0.0873)
OKLCHoklch(81.38% 0.089 100.2)
XYZxyz(49.3692, 54.3051, 28.2992)
Luminance0.5430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC480 #808BCF
analogous
#CF9C80 #CFC480 #B2CF80
triadic
#CFC480 #80CFC4 #C480CF
tetradic
#CFC480 #80CF9C #808BCF #CF80B2
square
#CFC480 #80CF9C #808BCF #CF80B2
split-complementary
#CFC480 #80B2CF #9C80CF
monochromatic
#9A8D3A #BEAF54 #CFC480 #E0D9AC #F1EDD9

Accessibility & contrast

On white

1.77
#CFC480 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#CFC480 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC480
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC480#FFFFFF#000000##000000
##CFC4801.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C07B
Deuteranopia (green-blind)
#D4C583
Tritanopia (blue-blind)
#DABBB3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc480;
/* rgb */ color: rgb(207, 196, 128);
/* oklch */ color: oklch(81.4% 0.089 100.2);
Tailwind
colors: {
  custom: {
    50: '#dfd5a5',
    500: '#cfc480',
    950: '#000000',
  },
}
SCSS
$custom: #cfc480;
$custom-light: #dfd5a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc480",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 128
  },
  "hsl": {
    "h": 51.646,
    "s": 45.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.81377,
    "c": 0.08869,
    "h": 100.2
  },
  "luminance": 0.54304
}

Semantic roles & 50–950 ramp

primary
#CFC480
secondary
#535EA0
accent
#41B82D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC480

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

Preview Lab → · Contrast checker → · Palette generator →

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