#CFCD73#CFCD73

#CFCD73 is a very light, moderate yellow. Relative luminance 0.582; OKLCH L 83.1% C 0.113 H 107.5°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#CFCD73
RGBrgb(207, 205, 115)
HSLhsl(59, 49%, 63%)
HSVhsv(59, 44%, 81%)
CMYKcmyk(0%, 1%, 44.4%, 18.8%)
CIE-LABlab(80.83, -11.98, 44.85)
CIE-LCHlch(80.83, 46.42, 104.96°)
OKLaboklab(83.06% -0.0339 0.1077)
OKLCHoklch(83.06% 0.113 107.5)
XYZxyz(50.6589, 58.1670, 24.7751)
Luminance0.5817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD73 #7375CF
analogous
#CF9F73 #CFCD73 #A3CF73
triadic
#CFCD73 #73CFCD #CD73CF
tetradic
#CFCD73 #73CF9F #7375CF #CF73A3
square
#CFCD73 #73CF9F #7375CF #CF73A3
split-complementary
#CFCD73 #73A3CF #9F73CF
monochromatic
#959333 #BFBD45 #CFCD73 #DFDDA1 #EEEECE

Accessibility & contrast

On white

1.66
#CFCD73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#CFCD73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD73
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD73#FFFFFF#000000##000000
##CFCD731.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC76C
Deuteranopia (green-blind)
#DCCA77
Tritanopia (blue-blind)
#DBC3B8
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcd73;
/* rgb */ color: rgb(207, 205, 115);
/* oklch */ color: oklch(83.1% 0.113 107.5);
Tailwind
colors: {
  custom: {
    50: '#dfdc9d',
    500: '#cfcd73',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd73;
$custom-light: #dfdc9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd73",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 115
  },
  "hsl": {
    "h": 58.696,
    "s": 48.936,
    "l": 63.137
  },
  "oklch": {
    "l": 0.83058,
    "c": 0.11288,
    "h": 107.5
  },
  "luminance": 0.58166
}

Semantic roles & 50–950 ramp

primary
#CFCD73
secondary
#4C4D9B
accent
#2CBC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFCD73

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

Preview Lab → · Contrast checker → · Palette generator →

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