#CFCE72#CFCE72

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

Color values

HEX#CFCE72
RGBrgb(207, 206, 114)
HSLhsl(59, 49%, 63%)
HSVhsv(59, 45%, 81%)
CMYKcmyk(0%, 0.5%, 44.9%, 18.8%)
CIE-LABlab(81.08, -12.59, 45.65)
CIE-LCHlch(81.08, 47.36, 105.42°)
OKLaboklab(83.26% -0.0358 0.1094)
OKLCHoklch(83.26% 0.115 108.1)
XYZxyz(50.8417, 58.6241, 24.5537)
Luminance0.5862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCE72 #7273CF
analogous
#CF9F72 #CFCE72 #A1CF72
triadic
#CFCE72 #72CFCE #CE72CF
tetradic
#CFCE72 #72CF9F #7273CF #CF72A1
square
#CFCE72 #72CF9F #7273CF #CF72A1
split-complementary
#CFCE72 #72A1CF #9F72CF
monochromatic
#949332 #BFBE44 #CFCE72 #DFDEA0 #EEEECD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCE72#FFFFFF#000000##000000
##CFCE721.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)
#DBC76A
Deuteranopia (green-blind)
#DDCB76
Tritanopia (blue-blind)
#DBC4B8
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfce72;
/* rgb */ color: rgb(207, 206, 114);
/* oklch */ color: oklch(83.3% 0.115 108.1);
Tailwind
colors: {
  custom: {
    50: '#dfdc9c',
    500: '#cfce72',
    950: '#000000',
  },
}
SCSS
$custom: #cfce72;
$custom-light: #dfdc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfce72",
  "rgb": {
    "r": 207,
    "g": 206,
    "b": 114
  },
  "hsl": {
    "h": 59.355,
    "s": 49.206,
    "l": 62.941
  },
  "oklch": {
    "l": 0.83255,
    "c": 0.11507,
    "h": 108.1
  },
  "luminance": 0.58623
}

Semantic roles & 50–950 ramp

primary
#CFCE72
secondary
#4B4C9A
accent
#2BBD29
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFCE72

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

Preview Lab → · Contrast checker → · Palette generator →

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