#CFCD74#CFCD74

#CFCD74 is a very light, moderate yellow. Relative luminance 0.582; OKLCH L 83.1% C 0.112 H 107.5°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#CFCD74
RGBrgb(207, 205, 116)
HSLhsl(59, 49%, 63%)
HSVhsv(59, 44%, 81%)
CMYKcmyk(0%, 1%, 44%, 18.8%)
CIE-LABlab(80.84, -11.89, 44.37)
CIE-LCHlch(80.84, 45.94, 104.99°)
OKLaboklab(83.07% -0.0336 0.1067)
OKLCHoklch(83.07% 0.112 107.5)
XYZxyz(50.7168, 58.1902, 25.0798)
Luminance0.5819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD74 #7476CF
analogous
#CF9F74 #CFCD74 #A3CF74
triadic
#CFCD74 #74CFCD #CD74CF
tetradic
#CFCD74 #74CF9F #7476CF #CF74A3
square
#CFCD74 #74CF9F #7476CF #CF74A3
split-complementary
#CFCD74 #74A3CF #9F74CF
monochromatic
#959333 #BFBD47 #CFCD74 #DFDDA1 #EEEECF

Accessibility & contrast

On white

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

On black

12.64
#CFCD74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD74
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD74#FFFFFF#000000##000000
##CFCD741.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC76D
Deuteranopia (green-blind)
#DCCA78
Tritanopia (blue-blind)
#DBC3B8
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcd74;
/* rgb */ color: rgb(207, 205, 116);
/* oklch */ color: oklch(83.1% 0.112 107.5);
Tailwind
colors: {
  custom: {
    50: '#dfdc9e',
    500: '#cfcd74',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd74;
$custom-light: #dfdc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd74",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 116
  },
  "hsl": {
    "h": 58.681,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.83072,
    "c": 0.11182,
    "h": 107.5
  },
  "luminance": 0.58189
}

Semantic roles & 50–950 ramp

primary
#CFCD74
secondary
#4C4E9B
accent
#2DBC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFCD74

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

Preview Lab → · Contrast checker → · Palette generator →

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