#CECA7B#CECA7B

#CECA7B is a very light, moderate yellow. Relative luminance 0.568; OKLCH L 82.5% C 0.101 H 105.9°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#CECA7B
RGBrgb(206, 202, 123)
HSLhsl(57, 46%, 65%)
HSVhsv(57, 40%, 81%)
CMYKcmyk(0%, 1.9%, 40.3%, 19.2%)
CIE-LABlab(80.06, -10.04, 39.89)
CIE-LCHlch(80.06, 41.13, 104.12°)
OKLaboklab(82.46% -0.0276 0.097)
OKLCHoklch(82.46% 0.101 105.9)
XYZxyz(50.1501, 56.7941, 27.0556)
Luminance0.5679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECA7B #7B7FCE
analogous
#CEA07B #CECA7B #A9CE7B
triadic
#CECA7B #7BCECA #CA7BCE
tetradic
#CECA7B #7BCEA0 #7B7FCE #CE7BA9
square
#CECA7B #7BCEA0 #7B7FCE #CE7BA9
split-complementary
#CECA7B #7BA9CE #A07BCE
monochromatic
#979238 #BDB84E #CECA7B #DFDCA8 #EFEED4

Accessibility & contrast

On white

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

On black

12.36
#CECA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECA7B
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECA7B#FFFFFF#000000##000000
##CECA7B1.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ceca7b;
/* rgb */ color: rgb(206, 202, 123);
/* oklch */ color: oklch(82.5% 0.101 105.9);
Tailwind
colors: {
  custom: {
    50: '#dedaa2',
    500: '#ceca7b',
    950: '#000000',
  },
}
SCSS
$custom: #ceca7b;
$custom-light: #dedaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#ceca7b",
  "rgb": {
    "r": 206,
    "g": 202,
    "b": 123
  },
  "hsl": {
    "h": 57.108,
    "s": 45.856,
    "l": 64.51
  },
  "oklch": {
    "l": 0.82463,
    "c": 0.10087,
    "h": 105.9
  },
  "luminance": 0.56793
}

Semantic roles & 50–950 ramp

primary
#CECA7B
secondary
#51549D
accent
#33B92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CECA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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