#CFCC73#CFCC73

#CFCC73 is a very light, moderate yellow. Relative luminance 0.577; OKLCH L 82.8% C 0.112 H 106.9°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#CFCC73
RGBrgb(207, 204, 115)
HSLhsl(58, 49%, 63%)
HSVhsv(58, 44%, 81%)
CMYKcmyk(0%, 1.4%, 44.4%, 18.8%)
CIE-LABlab(80.57, -11.48, 44.52)
CIE-LCHlch(80.57, 45.98, 104.46°)
OKLaboklab(82.85% -0.0325 0.1069)
OKLCHoklch(82.85% 0.112 106.9)
XYZxyz(50.4205, 57.6902, 24.6956)
Luminance0.5769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC73 #7376CF
analogous
#CF9E73 #CFCC73 #A4CF73
triadic
#CFCC73 #73CFCC #CC73CF
tetradic
#CFCC73 #73CF9E #7376CF #CF73A4
square
#CFCC73 #73CF9E #7376CF #CF73A4
split-complementary
#CFCC73 #73A4CF #9E73CF
monochromatic
#959133 #BFBB45 #CFCC73 #DFDDA1 #EEEDCE

Accessibility & contrast

On white

1.67
#CFCC73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#CFCC73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC73
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC73#FFFFFF#000000##000000
##CFCC731.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C66C
Deuteranopia (green-blind)
#DBCA77
Tritanopia (blue-blind)
#DBC2B7
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfcc73;
/* rgb */ color: rgb(207, 204, 115);
/* oklch */ color: oklch(82.8% 0.112 106.9);
Tailwind
colors: {
  custom: {
    50: '#dfdb9d',
    500: '#cfcc73',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc73;
$custom-light: #dfdb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc73",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 115
  },
  "hsl": {
    "h": 58.043,
    "s": 48.936,
    "l": 63.137
  },
  "oklch": {
    "l": 0.82847,
    "c": 0.11176,
    "h": 106.9
  },
  "luminance": 0.57689
}

Semantic roles & 50–950 ramp

primary
#CFCC73
secondary
#4C4E9B
accent
#2EBC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFCC73

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

Preview Lab → · Contrast checker → · Palette generator →

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