#CFC080#CFC080

#CFC080 is a light, moderate yellow. Relative luminance 0.525; OKLCH L 80.5% C 0.085 H 96.6°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#CFC080
RGBrgb(207, 192, 128)
HSLhsl(49, 45%, 66%)
HSVhsv(49, 38%, 81%)
CMYKcmyk(0%, 7.2%, 38.2%, 18.8%)
CIE-LABlab(77.59, -3.93, 34.18)
CIE-LCHlch(77.59, 34.41, 96.56°)
OKLaboklab(80.55% -0.0097 0.0842)
OKLCHoklch(80.55% 0.085 96.6)
XYZxyz(48.4790, 52.5247, 28.0025)
Luminance0.5252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC080 #808FCF
analogous
#CF9880 #CFC080 #B6CF80
triadic
#CFC080 #80CFC0 #C080CF
tetradic
#CFC080 #80CF98 #808FCF #CF80B6
square
#CFC080 #80CF98 #808FCF #CF80B6
split-complementary
#CFC080 #80B6CF #9880CF
monochromatic
#9A883A #BEAA54 #CFC080 #E0D6AC #F1ECD9

Accessibility & contrast

On white

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

On black

11.50
#CFC080 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC080
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC080#FFFFFF#000000##000000
##CFC0801.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBD7B
Deuteranopia (green-blind)
#D0C282
Tritanopia (blue-blind)
#DAB7B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc080;
/* rgb */ color: rgb(207, 192, 128);
/* oklch */ color: oklch(80.5% 0.085 96.6);
Tailwind
colors: {
  custom: {
    50: '#dfd2a5',
    500: '#cfc080',
    950: '#000000',
  },
}
SCSS
$custom: #cfc080;
$custom-light: #dfd2a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc080",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 128
  },
  "hsl": {
    "h": 48.608,
    "s": 45.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.8055,
    "c": 0.08472,
    "h": 96.6
  },
  "luminance": 0.52523
}

Semantic roles & 50–950 ramp

primary
#CFC080
secondary
#5362A0
accent
#48B82D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC080

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

Preview Lab → · Contrast checker → · Palette generator →

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