#CECA7A#CECA7A

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

Color values

HEX#CECA7A
RGBrgb(206, 202, 122)
HSLhsl(57, 46%, 64%)
HSVhsv(57, 41%, 81%)
CMYKcmyk(0%, 1.9%, 40.8%, 19.2%)
CIE-LABlab(80.05, -10.14, 40.38)
CIE-LCHlch(80.05, 41.63, 104.10°)
OKLaboklab(82.45% -0.028 0.0981)
OKLCHoklch(82.45% 0.102 105.9)
XYZxyz(50.0878, 56.7692, 26.7276)
Luminance0.5677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECA7A #7A7ECE
analogous
#CEA07A #CECA7A #A8CE7A
triadic
#CECA7A #7ACECA #CA7ACE
tetradic
#CECA7A #7ACEA0 #7A7ECE #CE7AA8
square
#CECA7A #7ACEA0 #7A7ECE #CE7AA8
split-complementary
#CECA7A #7AA8CE #A07ACE
monochromatic
#969237 #BEB84D #CECA7A #DEDCA7 #EFEED3

Accessibility & contrast

On white

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

On black

12.35
#CECA7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECA7A
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECA7A#FFFFFF#000000##000000
##CECA7A1.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C474
Deuteranopia (green-blind)
#D9C87D
Tritanopia (blue-blind)
#D9C0B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ceca7a;
/* rgb */ color: rgb(206, 202, 122);
/* oklch */ color: oklch(82.4% 0.102 105.9);
Tailwind
colors: {
  custom: {
    50: '#dedaa1',
    500: '#ceca7a',
    950: '#000000',
  },
}
SCSS
$custom: #ceca7a;
$custom-light: #dedaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#ceca7a",
  "rgb": {
    "r": 206,
    "g": 202,
    "b": 122
  },
  "hsl": {
    "h": 57.143,
    "s": 46.154,
    "l": 64.314
  },
  "oklch": {
    "l": 0.82447,
    "c": 0.10198,
    "h": 105.9
  },
  "luminance": 0.56768
}

Semantic roles & 50–950 ramp

primary
#CECA7A
secondary
#50549C
accent
#33B92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CECA7A

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

Preview Lab → · Contrast checker → · Palette generator →

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