#CFCD70#CFCD70

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

Color values

HEX#CFCD70
RGBrgb(207, 205, 112)
HSLhsl(59, 50%, 63%)
HSVhsv(59, 46%, 81%)
CMYKcmyk(0%, 1%, 45.9%, 18.8%)
CIE-LABlab(80.79, -12.28, 46.27)
CIE-LCHlch(80.79, 47.87, 104.86°)
OKLaboklab(83.02% -0.0351 0.1106)
OKLCHoklch(83.02% 0.116 107.6)
XYZxyz(50.4891, 58.0991, 23.8807)
Luminance0.5810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD70 #7072CF
analogous
#CF9E70 #CFCD70 #A1CF70
triadic
#CFCD70 #70CFCD #CD70CF
tetradic
#CFCD70 #70CF9E #7072CF #CF70A1
square
#CFCD70 #70CF9E #7072CF #CF70A1
split-complementary
#CFCD70 #70A1CF #9E70CF
monochromatic
#939131 #C0BD42 #CFCD70 #DEDD9E #EEEDCC

Accessibility & contrast

On white

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

On black

12.62
#CFCD70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD70
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD70#FFFFFF#000000##000000
##CFCD701.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC668
Deuteranopia (green-blind)
#DCCA74
Tritanopia (blue-blind)
#DBC3B7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcd70;
/* rgb */ color: rgb(207, 205, 112);
/* oklch */ color: oklch(83.0% 0.116 107.6);
Tailwind
colors: {
  custom: {
    50: '#dfdc9b',
    500: '#cfcd70',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd70;
$custom-light: #dfdc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd70",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 112
  },
  "hsl": {
    "h": 58.737,
    "s": 49.738,
    "l": 62.549
  },
  "oklch": {
    "l": 0.83015,
    "c": 0.11602,
    "h": 107.6
  },
  "luminance": 0.58098
}

Semantic roles & 50–950 ramp

primary
#CFCD70
secondary
#4A4C99
accent
#2CBD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFCD70

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

Preview Lab → · Contrast checker → · Palette generator →

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