#CECD7A#CECD7A

#CECD7A is a very light, moderate yellow. Relative luminance 0.582; OKLCH L 83.1% C 0.105 H 107.9°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#CECD7A
RGBrgb(206, 205, 122)
HSLhsl(59, 46%, 64%)
HSVhsv(59, 41%, 81%)
CMYKcmyk(0%, 0.5%, 40.8%, 19.2%)
CIE-LABlab(80.84, -11.67, 41.38)
CIE-LCHlch(80.84, 42.99, 105.75°)
OKLaboklab(83.08% -0.0324 0.1003)
OKLCHoklch(83.08% 0.105 107.9)
XYZxyz(50.7986, 58.1907, 26.9645)
Luminance0.5819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECD7A #7A7BCE
analogous
#CEA37A #CECD7A #A5CE7A
triadic
#CECD7A #7ACECD #CD7ACE
tetradic
#CECD7A #7ACEA3 #7A7BCE #CE7AA5
square
#CECD7A #7ACEA3 #7A7BCE #CE7AA5
split-complementary
#CECD7A #7AA5CE #A37ACE
monochromatic
#969537 #BEBC4D #CECD7A #DEDEA7 #EFEFD3

Accessibility & contrast

On white

1.66
#CECD7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#CECD7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECD7A
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECD7A#FFFFFF#000000##000000
##CECD7A1.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C773
Deuteranopia (green-blind)
#DBCA7E
Tritanopia (blue-blind)
#D9C3B9
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cecd7a;
/* rgb */ color: rgb(206, 205, 122);
/* oklch */ color: oklch(83.1% 0.105 107.9);
Tailwind
colors: {
  custom: {
    50: '#dedca2',
    500: '#cecd7a',
    950: '#000000',
  },
}
SCSS
$custom: #cecd7a;
$custom-light: #dedca2;
$custom-dark: #000000;
JSON
{
  "hex": "#cecd7a",
  "rgb": {
    "r": 206,
    "g": 205,
    "b": 122
  },
  "hsl": {
    "h": 59.286,
    "s": 46.154,
    "l": 64.314
  },
  "oklch": {
    "l": 0.83079,
    "c": 0.10542,
    "h": 107.9
  },
  "luminance": 0.5819
}

Semantic roles & 50–950 ramp

primary
#CECD7A
secondary
#50519C
accent
#2EB92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CECD7A

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

Preview Lab → · Contrast checker → · Palette generator →

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