#CFCF71#CFCF71

#CFCF71 is a very light, moderate yellow. Relative luminance 0.591; OKLCH L 83.5% C 0.117 H 108.7°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#CFCF71
RGBrgb(207, 207, 113)
HSLhsl(60, 49%, 63%)
HSVhsv(60, 45%, 81%)
CMYKcmyk(0%, 0%, 45.4%, 18.8%)
CIE-LABlab(81.34, -13.19, 46.45)
CIE-LCHlch(81.34, 48.29, 105.85°)
OKLaboklab(83.45% -0.0376 0.1111)
OKLCHoklch(83.45% 0.117 108.7)
XYZxyz(51.0266, 59.0845, 24.3360)
Luminance0.5908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF71 #7171CF
analogous
#CFA071 #CFCF71 #A0CF71
triadic
#CFCF71 #71CFCF #CF71CF
tetradic
#CFCF71 #71CFA0 #7171CF #CF71A0
square
#CFCF71 #71CFA0 #7171CF #CF71A0
split-complementary
#CFCF71 #71A0CF #A071CF
monochromatic
#949432 #C0C043 #CFCF71 #DEDE9F #EEEECC

Accessibility & contrast

On white

1.64
#CFCF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#CFCF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF71
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF71#FFFFFF#000000##000000
##CFCF711.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC869
Deuteranopia (green-blind)
#DECC75
Tritanopia (blue-blind)
#DBC5B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfcf71;
/* rgb */ color: rgb(207, 207, 113);
/* oklch */ color: oklch(83.5% 0.117 108.7);
Tailwind
colors: {
  custom: {
    50: '#dfdd9c',
    500: '#cfcf71',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf71;
$custom-light: #dfdd9c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf71",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 113
  },
  "hsl": {
    "h": 60,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.83452,
    "c": 0.11725,
    "h": 108.7
  },
  "luminance": 0.59083
}

Semantic roles & 50–950 ramp

primary
#CFCF71
secondary
#4B4B9A
accent
#29BD29
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFCF71

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

Preview Lab → · Contrast checker → · Palette generator →

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