#CFCC71#CFCC71

#CFCC71 is a very light, moderate yellow. Relative luminance 0.576; OKLCH L 82.8% C 0.114 H 107.0°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#CFCC71
RGBrgb(207, 204, 113)
HSLhsl(58, 49%, 63%)
HSVhsv(58, 45%, 81%)
CMYKcmyk(0%, 1.4%, 45.4%, 18.8%)
CIE-LABlab(80.54, -11.67, 45.48)
CIE-LCHlch(80.54, 46.95, 104.40°)
OKLaboklab(82.82% -0.0332 0.1089)
OKLCHoklch(82.82% 0.114 107)
XYZxyz(50.3067, 57.6446, 24.0961)
Luminance0.5764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC71 #7174CF
analogous
#CF9D71 #CFCC71 #A3CF71
triadic
#CFCC71 #71CFCC #CC71CF
tetradic
#CFCC71 #71CF9D #7174CF #CF71A3
square
#CFCC71 #71CF9D #7174CF #CF71A3
split-complementary
#CFCC71 #71A3CF #9D71CF
monochromatic
#949132 #C0BC43 #CFCC71 #DEDC9F #EEEDCC

Accessibility & contrast

On white

1.68
#CFCC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#CFCC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC71
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC71#FFFFFF#000000##000000
##CFCC711.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C669
Deuteranopia (green-blind)
#DBCA75
Tritanopia (blue-blind)
#DBC2B6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfcc71;
/* rgb */ color: rgb(207, 204, 113);
/* oklch */ color: oklch(82.8% 0.114 107.0);
Tailwind
colors: {
  custom: {
    50: '#dfdb9b',
    500: '#cfcc71',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc71;
$custom-light: #dfdb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc71",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 113
  },
  "hsl": {
    "h": 58.085,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.82818,
    "c": 0.11386,
    "h": 107
  },
  "luminance": 0.57643
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFCC71

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

Preview Lab → · Contrast checker → · Palette generator →

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