#CDCF73#CDCF73

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

Color values

HEX#CDCF73
RGBrgb(205, 207, 115)
HSLhsl(61, 49%, 63%)
HSVhsv(61, 44%, 81%)
CMYKcmyk(1%, 0%, 44.4%, 18.8%)
CIE-LABlab(81.21, -13.79, 45.28)
CIE-LCHlch(81.21, 47.33, 106.94°)
OKLaboklab(83.32% -0.039 0.1086)
OKLCHoklch(83.32% 0.115 109.8)
XYZxyz(50.5851, 58.8436, 24.9096)
Luminance0.5884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF73 #7573CF
analogous
#CFA373 #CDCF73 #9FCF73
triadic
#CDCF73 #73CDCF #CF73CD
tetradic
#CDCF73 #73CFA3 #7573CF #CF739F
square
#CDCF73 #73CFA3 #7573CF #CF739F
split-complementary
#CDCF73 #739FCF #A373CF
monochromatic
#939533 #BDBF45 #CDCF73 #DDDFA1 #EEEECE

Accessibility & contrast

On white

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

On black

12.77
#CDCF73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF73
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF73#FFFFFF#000000##000000
##CDCF731.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcf73;
/* rgb */ color: rgb(205, 207, 115);
/* oklch */ color: oklch(83.3% 0.115 109.8);
Tailwind
colors: {
  custom: {
    50: '#dedd9d',
    500: '#cdcf73',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf73;
$custom-light: #dedd9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf73",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 115
  },
  "hsl": {
    "h": 61.304,
    "s": 48.936,
    "l": 63.137
  },
  "oklch": {
    "l": 0.83317,
    "c": 0.11542,
    "h": 109.8
  },
  "luminance": 0.58843
}

Semantic roles & 50–950 ramp

primary
#CDCF73
secondary
#4D4C9B
accent
#29BC2C
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDCF73

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

Preview Lab → · Contrast checker → · Palette generator →

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