#CFCC74#CFCC74

#CFCC74 is a very light, moderate yellow. Relative luminance 0.577; OKLCH L 82.9% C 0.111 H 106.9°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#CFCC74
RGBrgb(207, 204, 116)
HSLhsl(58, 49%, 63%)
HSVhsv(58, 44%, 81%)
CMYKcmyk(0%, 1.4%, 44%, 18.8%)
CIE-LABlab(80.58, -11.38, 44.05)
CIE-LCHlch(80.58, 45.49, 104.48°)
OKLaboklab(82.86% -0.0321 0.1059)
OKLCHoklch(82.86% 0.111 106.9)
XYZxyz(50.4784, 57.7133, 25.0003)
Luminance0.5771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC74 #7477CF
analogous
#CF9E74 #CFCC74 #A4CF74
triadic
#CFCC74 #74CFCC #CC74CF
tetradic
#CFCC74 #74CF9E #7477CF #CF74A4
square
#CFCC74 #74CF9E #7477CF #CF74A4
split-complementary
#CFCC74 #74A4CF #9E74CF
monochromatic
#959233 #BFBB47 #CFCC74 #DFDDA1 #EEEDCF

Accessibility & contrast

On white

1.67
#CFCC74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#CFCC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC74
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC74#FFFFFF#000000##000000
##CFCC741.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C66D
Deuteranopia (green-blind)
#DBCA78
Tritanopia (blue-blind)
#DBC2B7
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfcc74;
/* rgb */ color: rgb(207, 204, 116);
/* oklch */ color: oklch(82.9% 0.111 106.9);
Tailwind
colors: {
  custom: {
    50: '#dfdb9d',
    500: '#cfcc74',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc74;
$custom-light: #dfdb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc74",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 116
  },
  "hsl": {
    "h": 58.022,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.82861,
    "c": 0.11069,
    "h": 106.9
  },
  "luminance": 0.57712
}

Semantic roles & 50–950 ramp

primary
#CFCC74
secondary
#4C4F9B
accent
#2EBC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFCC74

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

Preview Lab → · Contrast checker → · Palette generator →

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