#CECA7E#CECA7E

#CECA7E is a very light, moderate yellow. Relative luminance 0.569; OKLCH L 82.5% C 0.098 H 105.7°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#CECA7E
RGBrgb(206, 202, 126)
HSLhsl(57, 45%, 65%)
HSVhsv(57, 39%, 81%)
CMYKcmyk(0%, 1.9%, 38.8%, 19.2%)
CIE-LABlab(80.11, -9.71, 38.43)
CIE-LCHlch(80.11, 39.64, 104.18°)
OKLaboklab(82.51% -0.0264 0.0938)
OKLCHoklch(82.51% 0.098 105.7)
XYZxyz(50.3408, 56.8704, 28.0599)
Luminance0.5687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECA7E #7E82CE
analogous
#CEA27E #CECA7E #AACE7E
triadic
#CECA7E #7ECECA #CA7ECE
tetradic
#CECA7E #7ECEA2 #7E82CE #CE7EAA
square
#CECA7E #7ECEA2 #7E82CE #CE7EAA
split-complementary
#CECA7E #7EAACE #A27ECE
monochromatic
#98933A #BDB852 #CECA7E #DFDCAA #F0EED7

Accessibility & contrast

On white

1.70
#CECA7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#CECA7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECA7E
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECA7E#FFFFFF#000000##000000
##CECA7E1.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C578
Deuteranopia (green-blind)
#D8C881
Tritanopia (blue-blind)
#D9C1B7
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ceca7e;
/* rgb */ color: rgb(206, 202, 126);
/* oklch */ color: oklch(82.5% 0.098 105.7);
Tailwind
colors: {
  custom: {
    50: '#dedaa4',
    500: '#ceca7e',
    950: '#000000',
  },
}
SCSS
$custom: #ceca7e;
$custom-light: #dedaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#ceca7e",
  "rgb": {
    "r": 206,
    "g": 202,
    "b": 126
  },
  "hsl": {
    "h": 57,
    "s": 44.944,
    "l": 65.098
  },
  "oklch": {
    "l": 0.82511,
    "c": 0.0975,
    "h": 105.7
  },
  "luminance": 0.56869
}

Semantic roles & 50–950 ramp

primary
#CECA7E
secondary
#52569E
accent
#34B82D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CECA7E

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

Preview Lab → · Contrast checker → · Palette generator →

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