#CECD71#CECD71

#CECD71 is a very light, moderate yellow. Relative luminance 0.580; OKLCH L 82.9% C 0.115 H 108.1°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#CECD71
RGBrgb(206, 205, 113)
HSLhsl(59, 49%, 63%)
HSVhsv(59, 45%, 81%)
CMYKcmyk(0%, 0.5%, 45.1%, 19.2%)
CIE-LABlab(80.73, -12.58, 45.68)
CIE-LCHlch(80.73, 47.39, 105.40°)
OKLaboklab(82.95% -0.0358 0.1094)
OKLCHoklch(82.95% 0.115 108.1)
XYZxyz(50.2665, 57.9779, 24.1625)
Luminance0.5798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECD71 #7172CE
analogous
#CE9F71 #CECD71 #A0CE71
triadic
#CECD71 #71CECD #CD71CE
tetradic
#CECD71 #71CE9F #7172CE #CE71A0
square
#CECD71 #71CE9F #7172CE #CE71A0
split-complementary
#CECD71 #71A0CE #9F71CE
monochromatic
#929132 #BEBD44 #CECD71 #DEDD9E #EDEDCC

Accessibility & contrast

On white

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

On black

12.60
#CECD71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECD71
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECD71#FFFFFF#000000##000000
##CECD711.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC669
Deuteranopia (green-blind)
#DCCA75
Tritanopia (blue-blind)
#DAC3B7
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cecd71;
/* rgb */ color: rgb(206, 205, 113);
/* oklch */ color: oklch(82.9% 0.115 108.1);
Tailwind
colors: {
  custom: {
    50: '#dfdc9b',
    500: '#cecd71',
    950: '#000000',
  },
}
SCSS
$custom: #cecd71;
$custom-light: #dfdc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cecd71",
  "rgb": {
    "r": 206,
    "g": 205,
    "b": 113
  },
  "hsl": {
    "h": 59.355,
    "s": 48.691,
    "l": 62.549
  },
  "oklch": {
    "l": 0.82946,
    "c": 0.11508,
    "h": 108.1
  },
  "luminance": 0.57977
}

Semantic roles & 50–950 ramp

primary
#CECD71
secondary
#4B4C98
accent
#2BBC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CECD71

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

Preview Lab → · Contrast checker → · Palette generator →

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