#CEC573#CEC573

#CEC573 is a light, moderate yellow. Relative luminance 0.543; OKLCH L 81.3% C 0.104 H 102.9°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#CEC573
RGBrgb(206, 197, 115)
HSLhsl(54, 48%, 63%)
HSVhsv(54, 44%, 81%)
CMYKcmyk(0%, 4.4%, 44.2%, 19.2%)
CIE-LABlab(78.63, -8.31, 42.11)
CIE-LCHlch(78.63, 42.92, 101.16°)
OKLaboklab(81.29% -0.0233 0.1016)
OKLCHoklch(81.29% 0.104 102.9)
XYZxyz(48.5154, 54.2935, 24.1404)
Luminance0.5429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC573 #737CCE
analogous
#CE9773 #CEC573 #A9CE73
triadic
#CEC573 #73CEC5 #C573CE
tetradic
#CEC573 #73CE97 #737CCE #CE73A9
square
#CEC573 #73CE97 #737CCE #CE73A9
split-complementary
#CEC573 #73A9CE #9773CE
monochromatic
#938A33 #BEB246 #CEC573 #DED8A0 #EEEBCE

Accessibility & contrast

On white

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

On black

11.86
#CEC573 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC573
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC573#FFFFFF#000000##000000
##CEC5731.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C06C
Deuteranopia (green-blind)
#D5C576
Tritanopia (blue-blind)
#DABBB1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec573;
/* rgb */ color: rgb(206, 197, 115);
/* oklch */ color: oklch(81.3% 0.104 102.9);
Tailwind
colors: {
  custom: {
    50: '#ded69d',
    500: '#cec573',
    950: '#000000',
  },
}
SCSS
$custom: #cec573;
$custom-light: #ded69d;
$custom-dark: #000000;
JSON
{
  "hex": "#cec573",
  "rgb": {
    "r": 206,
    "g": 197,
    "b": 115
  },
  "hsl": {
    "h": 54.066,
    "s": 48.148,
    "l": 62.941
  },
  "oklch": {
    "l": 0.81291,
    "c": 0.1042,
    "h": 102.9
  },
  "luminance": 0.54292
}

Semantic roles & 50–950 ramp

primary
#CEC573
secondary
#4C5499
accent
#38BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CEC573

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

Preview Lab → · Contrast checker → · Palette generator →

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