#CEC571#CEC571

#CEC571 is a light, moderate yellow. Relative luminance 0.542; OKLCH L 81.3% C 0.106 H 103.1°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#CEC571
RGBrgb(206, 197, 113)
HSLhsl(54, 49%, 63%)
HSVhsv(54, 45%, 81%)
CMYKcmyk(0%, 4.4%, 45.1%, 19.2%)
CIE-LABlab(78.61, -8.51, 43.08)
CIE-LCHlch(78.61, 43.91, 101.17°)
OKLaboklab(81.26% -0.0241 0.1036)
OKLCHoklch(81.26% 0.106 103.1)
XYZxyz(48.4016, 54.2480, 23.5409)
Luminance0.5425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC571 #717ACE
analogous
#CE9771 #CEC571 #A8CE71
triadic
#CEC571 #71CEC5 #C571CE
tetradic
#CEC571 #71CE97 #717ACE #CE71A8
square
#CEC571 #71CE97 #717ACE #CE71A8
split-complementary
#CEC571 #71A8CE #9771CE
monochromatic
#928932 #BEB244 #CEC571 #DED89E #EDEACC

Accessibility & contrast

On white

1.77
#CEC571 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#CEC571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC571
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC571#FFFFFF#000000##000000
##CEC5711.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C06A
Deuteranopia (green-blind)
#D6C575
Tritanopia (blue-blind)
#DABBB1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec571;
/* rgb */ color: rgb(206, 197, 113);
/* oklch */ color: oklch(81.3% 0.106 103.1);
Tailwind
colors: {
  custom: {
    50: '#ded69b',
    500: '#cec571',
    950: '#000000',
  },
}
SCSS
$custom: #cec571;
$custom-light: #ded69b;
$custom-dark: #000000;
JSON
{
  "hex": "#cec571",
  "rgb": {
    "r": 206,
    "g": 197,
    "b": 113
  },
  "hsl": {
    "h": 54.194,
    "s": 48.691,
    "l": 62.549
  },
  "oklch": {
    "l": 0.81262,
    "c": 0.10634,
    "h": 103.1
  },
  "luminance": 0.54247
}

Semantic roles & 50–950 ramp

primary
#CEC571
secondary
#4B5298
accent
#38BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CEC571

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

Preview Lab → · Contrast checker → · Palette generator →

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