#CECC71#CECC71

#CECC71 is a very light, moderate yellow. Relative luminance 0.575; OKLCH L 82.7% C 0.114 H 107.5°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#CECC71
RGBrgb(206, 204, 113)
HSLhsl(59, 49%, 63%)
HSVhsv(59, 45%, 81%)
CMYKcmyk(0%, 1%, 45.1%, 19.2%)
CIE-LABlab(80.46, -12.08, 45.36)
CIE-LCHlch(80.46, 46.94, 104.91°)
OKLaboklab(82.74% -0.0343 0.1087)
OKLCHoklch(82.74% 0.114 107.5)
XYZxyz(50.0281, 57.5010, 24.0830)
Luminance0.5750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECC71 #7173CE
analogous
#CE9E71 #CECC71 #A1CE71
triadic
#CECC71 #71CECC #CC71CE
tetradic
#CECC71 #71CE9E #7173CE #CE71A1
square
#CECC71 #71CE9E #7173CE #CE71A1
split-complementary
#CECC71 #71A1CE #9E71CE
monochromatic
#929032 #BEBC44 #CECC71 #DEDC9E #EDEDCC

Accessibility & contrast

On white

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

On black

12.50
#CECC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECC71
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECC71#FFFFFF#000000##000000
##CECC711.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cecc71;
/* rgb */ color: rgb(206, 204, 113);
/* oklch */ color: oklch(82.7% 0.114 107.5);
Tailwind
colors: {
  custom: {
    50: '#dfdb9b',
    500: '#cecc71',
    950: '#000000',
  },
}
SCSS
$custom: #cecc71;
$custom-light: #dfdb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cecc71",
  "rgb": {
    "r": 206,
    "g": 204,
    "b": 113
  },
  "hsl": {
    "h": 58.71,
    "s": 48.691,
    "l": 62.549
  },
  "oklch": {
    "l": 0.82735,
    "c": 0.11396,
    "h": 107.5
  },
  "luminance": 0.575
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CECC71

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

Preview Lab → · Contrast checker → · Palette generator →

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