#CDCF72#CDCF72

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

Color values

HEX#CDCF72
RGBrgb(205, 207, 114)
HSLhsl(61, 49%, 63%)
HSVhsv(61, 45%, 81%)
CMYKcmyk(1%, 0%, 44.9%, 18.8%)
CIE-LABlab(81.19, -13.89, 45.75)
CIE-LCHlch(81.19, 47.81, 106.89°)
OKLaboklab(83.3% -0.0394 0.1096)
OKLCHoklch(83.3% 0.116 109.8)
XYZxyz(50.5278, 58.8207, 24.6081)
Luminance0.5882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF72 #7472CF
analogous
#CFA272 #CDCF72 #9FCF72
triadic
#CDCF72 #72CDCF #CF72CD
tetradic
#CDCF72 #72CFA2 #7472CF #CF729F
square
#CDCF72 #72CFA2 #7472CF #CF729F
split-complementary
#CDCF72 #729FCF #A272CF
monochromatic
#929432 #BDBF44 #CDCF72 #DDDFA0 #EDEECD

Accessibility & contrast

On white

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

On black

12.76
#CDCF72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF72
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF72#FFFFFF#000000##000000
##CDCF721.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcf72;
/* rgb */ color: rgb(205, 207, 114);
/* oklch */ color: oklch(83.3% 0.116 109.8);
Tailwind
colors: {
  custom: {
    50: '#dedd9c',
    500: '#cdcf72',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf72;
$custom-light: #dedd9c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf72",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 114
  },
  "hsl": {
    "h": 61.29,
    "s": 49.206,
    "l": 62.941
  },
  "oklch": {
    "l": 0.83302,
    "c": 0.11647,
    "h": 109.8
  },
  "luminance": 0.5882
}

Semantic roles & 50–950 ramp

primary
#CDCF72
secondary
#4D4B9A
accent
#29BD2C
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDCF72

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

Preview Lab → · Contrast checker → · Palette generator →

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