#CECA6B#CECA6B

#CECA6B is a very light, moderate yellow. Relative luminance 0.564; OKLCH L 82.2% C 0.118 H 106.6°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#CECA6B
RGBrgb(206, 202, 107)
HSLhsl(58, 50%, 61%)
HSVhsv(58, 48%, 81%)
CMYKcmyk(0%, 1.9%, 48.1%, 19.2%)
CIE-LABlab(79.86, -11.63, 47.55)
CIE-LCHlch(79.86, 48.95, 103.74°)
OKLaboklab(82.23% -0.0336 0.113)
OKLCHoklch(82.23% 0.118 106.6)
XYZxyz(49.2291, 56.4257, 22.2051)
Luminance0.5642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECA6B #6B6FCE
analogous
#CE996B #CECA6B #A1CE6B
triadic
#CECA6B #6BCECA #CA6BCE
tetradic
#CECA6B #6BCE99 #6B6FCE #CE6BA1
square
#CECA6B #6BCE99 #6B6FCE #CE6BA1
split-complementary
#CECA6B #6BA1CE #996BCE
monochromatic
#8F8B2F #BDB83F #CECA6B #DDDA99 #ECEBC7

Accessibility & contrast

On white

1.71
#CECA6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#CECA6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECA6B
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECA6B#FFFFFF#000000##000000
##CECA6B1.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C463
Deuteranopia (green-blind)
#DAC870
Tritanopia (blue-blind)
#DABFB4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ceca6b;
/* rgb */ color: rgb(206, 202, 107);
/* oklch */ color: oklch(82.2% 0.118 106.6);
Tailwind
colors: {
  custom: {
    50: '#dfda97',
    500: '#ceca6b',
    950: '#000000',
  },
}
SCSS
$custom: #ceca6b;
$custom-light: #dfda97;
$custom-dark: #000000;
JSON
{
  "hex": "#ceca6b",
  "rgb": {
    "r": 206,
    "g": 202,
    "b": 107
  },
  "hsl": {
    "h": 57.576,
    "s": 50.254,
    "l": 61.373
  },
  "oklch": {
    "l": 0.8223,
    "c": 0.11793,
    "h": 106.6
  },
  "luminance": 0.56424
}

Semantic roles & 50–950 ramp

primary
#CECA6B
secondary
#484B96
accent
#2EBE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CECA6B

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

Preview Lab → · Contrast checker → · Palette generator →

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