#CFCE71#CFCE71

#CFCE71 is a very light, moderate yellow. Relative luminance 0.586; OKLCH L 83.2% C 0.116 H 108.1°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#CFCE71
RGBrgb(207, 206, 113)
HSLhsl(59, 49%, 63%)
HSVhsv(59, 45%, 81%)
CMYKcmyk(0%, 0.5%, 45.4%, 18.8%)
CIE-LABlab(81.07, -12.69, 46.13)
CIE-LCHlch(81.07, 47.84, 105.38°)
OKLaboklab(83.24% -0.0361 0.1103)
OKLCHoklch(83.24% 0.116 108.1)
XYZxyz(50.7851, 58.6015, 24.2555)
Luminance0.5860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCE71 #7172CF
analogous
#CF9F71 #CFCE71 #A1CF71
triadic
#CFCE71 #71CFCE #CE71CF
tetradic
#CFCE71 #71CF9F #7172CF #CF71A1
square
#CFCE71 #71CF9F #7172CF #CF71A1
split-complementary
#CFCE71 #71A1CF #9F71CF
monochromatic
#949332 #C0BE43 #CFCE71 #DEDE9F #EEEECC

Accessibility & contrast

On white

1.65
#CFCE71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.72
#CFCE71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCE71
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCE71#FFFFFF#000000##000000
##CFCE711.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC769
Deuteranopia (green-blind)
#DDCB75
Tritanopia (blue-blind)
#DBC4B8
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfce71;
/* rgb */ color: rgb(207, 206, 113);
/* oklch */ color: oklch(83.2% 0.116 108.1);
Tailwind
colors: {
  custom: {
    50: '#dfdc9c',
    500: '#cfce71',
    950: '#000000',
  },
}
SCSS
$custom: #cfce71;
$custom-light: #dfdc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfce71",
  "rgb": {
    "r": 207,
    "g": 206,
    "b": 113
  },
  "hsl": {
    "h": 59.362,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.83241,
    "c": 0.1161,
    "h": 108.1
  },
  "luminance": 0.586
}

Semantic roles & 50–950 ramp

primary
#CFCE71
secondary
#4B4B9A
accent
#2ABD29
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFCE71

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

Preview Lab → · Contrast checker → · Palette generator →

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