#CECA7C#CECA7C

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

Color values

HEX#CECA7C
RGBrgb(206, 202, 124)
HSLhsl(57, 46%, 65%)
HSVhsv(57, 40%, 81%)
CMYKcmyk(0%, 1.9%, 39.8%, 19.2%)
CIE-LABlab(80.08, -9.93, 39.40)
CIE-LCHlch(80.08, 40.64, 104.14°)
OKLaboklab(82.48% -0.0272 0.096)
OKLCHoklch(82.48% 0.1 105.8)
XYZxyz(50.2130, 56.8193, 27.3870)
Luminance0.5682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECA7C #7C80CE
analogous
#CEA17C #CECA7C #A9CE7C
triadic
#CECA7C #7CCECA #CA7CCE
tetradic
#CECA7C #7CCEA1 #7C80CE #CE7CA9
square
#CECA7C #7CCEA1 #7C80CE #CE7CA9
split-complementary
#CECA7C #7CA9CE #A17CCE
monochromatic
#979239 #BDB84F #CECA7C #DFDCA9 #EFEED5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CECA7C#FFFFFF#000000##000000
##CECA7C1.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)
#D6C476
Deuteranopia (green-blind)
#D8C87F
Tritanopia (blue-blind)
#D9C1B7
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ceca7c;
/* rgb */ color: rgb(206, 202, 124);
/* oklch */ color: oklch(82.5% 0.100 105.8);
Tailwind
colors: {
  custom: {
    50: '#dedaa3',
    500: '#ceca7c',
    950: '#000000',
  },
}
SCSS
$custom: #ceca7c;
$custom-light: #dedaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#ceca7c",
  "rgb": {
    "r": 206,
    "g": 202,
    "b": 124
  },
  "hsl": {
    "h": 57.073,
    "s": 45.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.82479,
    "c": 0.09975,
    "h": 105.8
  },
  "luminance": 0.56818
}

Semantic roles & 50–950 ramp

primary
#CECA7C
secondary
#51559D
accent
#34B92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CECA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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