#CFCE73#CFCE73

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

Color values

HEX#CFCE73
RGBrgb(207, 206, 115)
HSLhsl(59, 49%, 63%)
HSVhsv(59, 44%, 81%)
CMYKcmyk(0%, 0.5%, 44.4%, 18.8%)
CIE-LABlab(81.10, -12.49, 45.18)
CIE-LCHlch(81.10, 46.87, 105.45°)
OKLaboklab(83.27% -0.0354 0.1084)
OKLCHoklch(83.27% 0.114 108.1)
XYZxyz(50.8989, 58.6470, 24.8551)
Luminance0.5865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCE73 #7374CF
analogous
#CFA073 #CFCE73 #A2CF73
triadic
#CFCE73 #73CFCE #CE73CF
tetradic
#CFCE73 #73CFA0 #7374CF #CF73A2
square
#CFCE73 #73CFA0 #7374CF #CF73A2
split-complementary
#CFCE73 #73A2CF #A073CF
monochromatic
#959433 #BFBE45 #CFCE73 #DFDEA1 #EEEECE

Accessibility & contrast

On white

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

On black

12.73
#CFCE73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCE73
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCE73#FFFFFF#000000##000000
##CFCE731.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfce73;
/* rgb */ color: rgb(207, 206, 115);
/* oklch */ color: oklch(83.3% 0.114 108.1);
Tailwind
colors: {
  custom: {
    50: '#dfdc9d',
    500: '#cfce73',
    950: '#000000',
  },
}
SCSS
$custom: #cfce73;
$custom-light: #dfdc9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfce73",
  "rgb": {
    "r": 207,
    "g": 206,
    "b": 115
  },
  "hsl": {
    "h": 59.348,
    "s": 48.936,
    "l": 63.137
  },
  "oklch": {
    "l": 0.83269,
    "c": 0.11401,
    "h": 108.1
  },
  "luminance": 0.58646
}

Semantic roles & 50–950 ramp

primary
#CFCE73
secondary
#4C4D9B
accent
#2BBC29
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFCE73

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

Preview Lab → · Contrast checker → · Palette generator →

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