#CECA5C#CECA5C

#CECA5C is a very light, vivid yellow. Relative luminance 0.561; OKLCH L 82.0% C 0.132 H 107.1°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#CECA5C
RGBrgb(206, 202, 92)
HSLhsl(58, 54%, 58%)
HSVhsv(58, 55%, 81%)
CMYKcmyk(0%, 1.9%, 55.3%, 19.2%)
CIE-LABlab(79.69, -12.89, 54.41)
CIE-LCHlch(79.69, 55.91, 103.33°)
OKLaboklab(82.05% -0.0388 0.1265)
OKLCHoklch(82.05% 0.132 107.1)
XYZxyz(48.5073, 56.1370, 18.4035)
Luminance0.5614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECA5C #5C60CE
analogous
#CE915C #CECA5C #99CE5C
triadic
#CECA5C #5CCECA #CA5CCE
tetradic
#CECA5C #5CCE91 #5C60CE #CE5C99
square
#CECA5C #5CCE91 #5C60CE #CE5C99
split-complementary
#CECA5C #5C99CE #915CCE
monochromatic
#878429 #B6B237 #CECA5C #DCD98B #EAE9BA

Accessibility & contrast

On white

1.72
#CECA5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#CECA5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECA5C
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECA5C#FFFFFF#000000##000000
##CECA5C1.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C351
Deuteranopia (green-blind)
#DBC862
Tritanopia (blue-blind)
#DBBEB2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ceca5c;
/* rgb */ color: rgb(206, 202, 92);
/* oklch */ color: oklch(82.0% 0.132 107.1);
Tailwind
colors: {
  custom: {
    50: '#dfd98e',
    500: '#ceca5c',
    950: '#000000',
  },
}
SCSS
$custom: #ceca5c;
$custom-light: #dfd98e;
$custom-dark: #000000;
JSON
{
  "hex": "#ceca5c",
  "rgb": {
    "r": 206,
    "g": 202,
    "b": 92
  },
  "hsl": {
    "h": 57.895,
    "s": 53.774,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82047,
    "c": 0.13228,
    "h": 107.1
  },
  "luminance": 0.56136
}

Semantic roles & 50–950 ramp

primary
#CECA5C
secondary
#40438E
accent
#50DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CECA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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