#CFCE74#CFCE74

#CFCE74 is a very light, moderate yellow. Relative luminance 0.587; OKLCH L 83.3% C 0.113 H 108.1°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#CFCE74
RGBrgb(207, 206, 116)
HSLhsl(59, 49%, 63%)
HSVhsv(59, 44%, 81%)
CMYKcmyk(0%, 0.5%, 44%, 18.8%)
CIE-LABlab(81.11, -12.39, 44.70)
CIE-LCHlch(81.11, 46.39, 105.49°)
OKLaboklab(83.28% -0.035 0.1074)
OKLCHoklch(83.28% 0.113 108.1)
XYZxyz(50.9568, 58.6701, 25.1598)
Luminance0.5867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCE74 #7475CF
analogous
#CFA074 #CFCE74 #A2CF74
triadic
#CFCE74 #74CFCE #CE74CF
tetradic
#CFCE74 #74CFA0 #7475CF #CF74A2
square
#CFCE74 #74CFA0 #7475CF #CF74A2
split-complementary
#CFCE74 #74A2CF #A074CF
monochromatic
#959433 #BFBE47 #CFCE74 #DFDEA1 #EEEECF

Accessibility & contrast

On white

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

On black

12.73
#CFCE74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCE74
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCE74#FFFFFF#000000##000000
##CFCE741.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC76D
Deuteranopia (green-blind)
#DDCB78
Tritanopia (blue-blind)
#DBC4B9
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfce74;
/* rgb */ color: rgb(207, 206, 116);
/* oklch */ color: oklch(83.3% 0.113 108.1);
Tailwind
colors: {
  custom: {
    50: '#dfdc9e',
    500: '#cfce74',
    950: '#000000',
  },
}
SCSS
$custom: #cfce74;
$custom-light: #dfdc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfce74",
  "rgb": {
    "r": 207,
    "g": 206,
    "b": 116
  },
  "hsl": {
    "h": 59.341,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.83283,
    "c": 0.11296,
    "h": 108.1
  },
  "luminance": 0.58669
}

Semantic roles & 50–950 ramp

primary
#CFCE74
secondary
#4C4D9B
accent
#2BBC2A
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFCE74

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

Preview Lab → · Contrast checker → · Palette generator →

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