#CFCF80#CFCF80

#CFCF80 is a very light, moderate yellow. Relative luminance 0.595; OKLCH L 83.7% C 0.101 H 108.4°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#CFCF80
RGBrgb(207, 207, 128)
HSLhsl(60, 45%, 66%)
HSVhsv(60, 38%, 81%)
CMYKcmyk(0%, 0%, 38.2%, 18.8%)
CIE-LABlab(81.54, -11.64, 39.26)
CIE-LCHlch(81.54, 40.95, 106.51°)
OKLaboklab(83.68% -0.0319 0.0958)
OKLCHoklch(83.68% 0.101 108.4)
XYZxyz(51.9419, 59.4506, 29.1568)
Luminance0.5945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF80 #8080CF
analogous
#CFA780 #CFCF80 #A7CF80
triadic
#CFCF80 #80CFCF #CF80CF
tetradic
#CFCF80 #80CFA7 #8080CF #CF80A7
square
#CFCF80 #80CFA7 #8080CF #CF80A7
split-complementary
#CFCF80 #80A7CF #A780CF
monochromatic
#9A9A3A #BEBE54 #CFCF80 #E0E0AC #F1F1D9

Accessibility & contrast

On white

1.63
#CFCF80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.89
#CFCF80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF80
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF80#FFFFFF#000000##000000
##CFCF801.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC97A
Deuteranopia (green-blind)
#DCCC83
Tritanopia (blue-blind)
#D9C6BC
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfcf80;
/* rgb */ color: rgb(207, 207, 128);
/* oklch */ color: oklch(83.7% 0.101 108.4);
Tailwind
colors: {
  custom: {
    50: '#dfdda6',
    500: '#cfcf80',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf80;
$custom-light: #dfdda6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf80",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 128
  },
  "hsl": {
    "h": 60,
    "s": 45.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.83677,
    "c": 0.10098,
    "h": 108.4
  },
  "luminance": 0.5945
}

Semantic roles & 50–950 ramp

primary
#CFCF80
secondary
#5353A0
accent
#2DB82D
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CFCF80

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

Preview Lab → · Contrast checker → · Palette generator →

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