#CFCF83#CFCF83

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

Color values

HEX#CFCF83
RGBrgb(207, 207, 131)
HSLhsl(60, 44%, 66%)
HSVhsv(60, 37%, 81%)
CMYKcmyk(0%, 0%, 36.7%, 18.8%)
CIE-LABlab(81.58, -11.30, 37.80)
CIE-LCHlch(81.58, 39.45, 106.65°)
OKLaboklab(83.73% -0.0307 0.0926)
OKLCHoklch(83.73% 0.098 108.3)
XYZxyz(52.1423, 59.5307, 30.2121)
Luminance0.5953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF83 #8383CF
analogous
#CFA983 #CFCF83 #A9CF83
triadic
#CFCF83 #83CFCF #CF83CF
tetradic
#CFCF83 #83CFA9 #8383CF #CF83A9
square
#CFCF83 #83CFA9 #8383CF #CF83A9
split-complementary
#CFCF83 #83A9CF #A983CF
monochromatic
#9B9B3C #BEBE57 #CFCF83 #E0E0AF #F1F1DB

Accessibility & contrast

On white

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

On black

12.91
#CFCF83 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF83
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF83#FFFFFF#000000##000000
##CFCF831.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfcf83;
/* rgb */ color: rgb(207, 207, 131);
/* oklch */ color: oklch(83.7% 0.098 108.3);
Tailwind
colors: {
  custom: {
    50: '#dfdda8',
    500: '#cfcf83',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf83;
$custom-light: #dfdda8;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf83",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 131
  },
  "hsl": {
    "h": 60,
    "s": 44.186,
    "l": 66.275
  },
  "oklch": {
    "l": 0.83726,
    "c": 0.09757,
    "h": 108.3
  },
  "luminance": 0.5953
}

Semantic roles & 50–950 ramp

primary
#CFCF83
secondary
#5555A1
accent
#2EB72E
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#151510
muted
#848480

Preview Lab

Preview with #CFCF83

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

Preview Lab → · Contrast checker → · Palette generator →

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