#CFCF82#CFCF82

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

Color values

HEX#CFCF82
RGBrgb(207, 207, 130)
HSLhsl(60, 45%, 66%)
HSVhsv(60, 37%, 81%)
CMYKcmyk(0%, 0%, 37.2%, 18.8%)
CIE-LABlab(81.57, -11.42, 38.29)
CIE-LCHlch(81.57, 39.95, 106.60°)
OKLaboklab(83.71% -0.0311 0.0937)
OKLCHoklch(83.71% 0.099 108.4)
XYZxyz(52.0748, 59.5038, 29.8569)
Luminance0.5950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF82 #8282CF
analogous
#CFA882 #CFCF82 #A8CF82
triadic
#CFCF82 #82CFCF #CF82CF
tetradic
#CFCF82 #82CFA8 #8282CF #CF82A8
square
#CFCF82 #82CFA8 #8282CF #CF82A8
split-complementary
#CFCF82 #82A8CF #A882CF
monochromatic
#9B9B3C #BEBE56 #CFCF82 #E0E0AE #F1F1DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCF82#FFFFFF#000000##000000
##CFCF821.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)
#DBC97C
Deuteranopia (green-blind)
#DCCC85
Tritanopia (blue-blind)
#D9C6BC
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfcf82;
/* rgb */ color: rgb(207, 207, 130);
/* oklch */ color: oklch(83.7% 0.099 108.4);
Tailwind
colors: {
  custom: {
    50: '#dfdda7',
    500: '#cfcf82',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf82;
$custom-light: #dfdda7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf82",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 130
  },
  "hsl": {
    "h": 60,
    "s": 44.509,
    "l": 66.078
  },
  "oklch": {
    "l": 0.8371,
    "c": 0.09871,
    "h": 108.4
  },
  "luminance": 0.59503
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFCF82

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

Preview Lab → · Contrast checker → · Palette generator →

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