#CFCF81#CFCF81

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

Color values

HEX#CFCF81
RGBrgb(207, 207, 129)
HSLhsl(60, 45%, 66%)
HSVhsv(60, 38%, 81%)
CMYKcmyk(0%, 0%, 37.7%, 18.8%)
CIE-LABlab(81.55, -11.53, 38.77)
CIE-LCHlch(81.55, 40.45, 106.56°)
OKLaboklab(83.69% -0.0315 0.0948)
OKLCHoklch(83.69% 0.1 108.4)
XYZxyz(52.0081, 59.4770, 29.5051)
Luminance0.5948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF81 #8181CF
analogous
#CFA881 #CFCF81 #A8CF81
triadic
#CFCF81 #81CFCF #CF81CF
tetradic
#CFCF81 #81CFA8 #8181CF #CF81A8
square
#CFCF81 #81CFA8 #8181CF #CF81A8
split-complementary
#CFCF81 #81A8CF #A881CF
monochromatic
#9B9B3B #BEBE55 #CFCF81 #E0E0AD #F1F1DA

Accessibility & contrast

On white

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

On black

12.90
#CFCF81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF81
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF81#FFFFFF#000000##000000
##CFCF811.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfcf81;
/* rgb */ color: rgb(207, 207, 129);
/* oklch */ color: oklch(83.7% 0.100 108.4);
Tailwind
colors: {
  custom: {
    50: '#dfdda6',
    500: '#cfcf81',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf81;
$custom-light: #dfdda6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf81",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 129
  },
  "hsl": {
    "h": 60,
    "s": 44.828,
    "l": 65.882
  },
  "oklch": {
    "l": 0.83693,
    "c": 0.09985,
    "h": 108.4
  },
  "luminance": 0.59476
}

Semantic roles & 50–950 ramp

primary
#CFCF81
secondary
#5454A0
accent
#2EB82E
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CFCF81

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

Preview Lab → · Contrast checker → · Palette generator →

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