#CFCD72#CFCD72

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

Color values

HEX#CFCD72
RGBrgb(207, 205, 114)
HSLhsl(59, 49%, 63%)
HSVhsv(59, 45%, 81%)
CMYKcmyk(0%, 1%, 44.9%, 18.8%)
CIE-LABlab(80.82, -12.08, 45.33)
CIE-LCHlch(80.82, 46.91, 104.93°)
OKLaboklab(83.04% -0.0343 0.1086)
OKLCHoklch(83.04% 0.114 107.5)
XYZxyz(50.6017, 58.1442, 24.4737)
Luminance0.5814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD72 #7274CF
analogous
#CF9F72 #CFCD72 #A2CF72
triadic
#CFCD72 #72CFCD #CD72CF
tetradic
#CFCD72 #72CF9F #7274CF #CF72A2
square
#CFCD72 #72CF9F #7274CF #CF72A2
split-complementary
#CFCD72 #72A2CF #9F72CF
monochromatic
#949232 #BFBD44 #CFCD72 #DFDDA0 #EEEDCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCD72#FFFFFF#000000##000000
##CFCD721.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)
#DAC76A
Deuteranopia (green-blind)
#DCCA76
Tritanopia (blue-blind)
#DBC3B7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcd72;
/* rgb */ color: rgb(207, 205, 114);
/* oklch */ color: oklch(83.0% 0.114 107.5);
Tailwind
colors: {
  custom: {
    50: '#dfdc9c',
    500: '#cfcd72',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd72;
$custom-light: #dfdc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd72",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 114
  },
  "hsl": {
    "h": 58.71,
    "s": 49.206,
    "l": 62.941
  },
  "oklch": {
    "l": 0.83043,
    "c": 0.11393,
    "h": 107.5
  },
  "luminance": 0.58143
}

Semantic roles & 50–950 ramp

primary
#CFCD72
secondary
#4B4D9A
accent
#2CBD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFCD72

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

Preview Lab → · Contrast checker → · Palette generator →

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