#CFCF73#CFCF73

#CFCF73 is a very light, moderate yellow. Relative luminance 0.591; OKLCH L 83.5% C 0.115 H 108.7°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#CFCF73
RGBrgb(207, 207, 115)
HSLhsl(60, 49%, 63%)
HSVhsv(60, 44%, 81%)
CMYKcmyk(0%, 0%, 44.4%, 18.8%)
CIE-LABlab(81.36, -13.00, 45.50)
CIE-LCHlch(81.36, 47.32, 105.94°)
OKLaboklab(83.48% -0.0368 0.1091)
OKLCHoklch(83.48% 0.115 108.7)
XYZxyz(51.1404, 59.1300, 24.9356)
Luminance0.5913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF73 #7373CF
analogous
#CFA173 #CFCF73 #A1CF73
triadic
#CFCF73 #73CFCF #CF73CF
tetradic
#CFCF73 #73CFA1 #7373CF #CF73A1
square
#CFCF73 #73CFA1 #7373CF #CF73A1
split-complementary
#CFCF73 #73A1CF #A173CF
monochromatic
#959533 #BFBF45 #CFCF73 #DFDFA1 #EEEECE

Accessibility & contrast

On white

1.64
#CFCF73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.83
#CFCF73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF73
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF73#FFFFFF#000000##000000
##CFCF731.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC86B
Deuteranopia (green-blind)
#DECC77
Tritanopia (blue-blind)
#DBC5B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfcf73;
/* rgb */ color: rgb(207, 207, 115);
/* oklch */ color: oklch(83.5% 0.115 108.7);
Tailwind
colors: {
  custom: {
    50: '#dfdd9d',
    500: '#cfcf73',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf73;
$custom-light: #dfdd9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf73",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 115
  },
  "hsl": {
    "h": 60,
    "s": 48.936,
    "l": 63.137
  },
  "oklch": {
    "l": 0.8348,
    "c": 0.11516,
    "h": 108.7
  },
  "luminance": 0.59129
}

Semantic roles & 50–950 ramp

primary
#CFCF73
secondary
#4C4C9B
accent
#29BC29
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFCF73

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

Preview Lab → · Contrast checker → · Palette generator →

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