#CECA52#CECA52

#CECA52 is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.9% C 0.141 H 107.3°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#CECA52
RGBrgb(206, 202, 82)
HSLhsl(58, 56%, 56%)
HSVhsv(58, 60%, 81%)
CMYKcmyk(0%, 1.9%, 60.2%, 19.2%)
CIE-LABlab(79.60, -13.62, 58.74)
CIE-LCHlch(79.60, 60.29, 103.05°)
OKLaboklab(81.94% -0.042 0.1344)
OKLCHoklch(81.94% 0.141 107.3)
XYZxyz(48.0987, 55.9735, 16.2513)
Luminance0.5597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECA52 #5256CE
analogous
#CE8C52 #CECA52 #94CE52
triadic
#CECA52 #52CECA #CA52CE
tetradic
#CECA52 #52CE8C #5256CE #CE5294
square
#CECA52 #52CE8C #5256CE #CE5294
split-complementary
#CECA52 #5294CE #8C52CE
monochromatic
#817E25 #B1AD32 #CECA52 #DCD982 #E9E7B1

Accessibility & contrast

On white

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

On black

12.19
#CECA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECA52
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECA52#FFFFFF#000000##000000
##CECA521.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC344
Deuteranopia (green-blind)
#DCC759
Tritanopia (blue-blind)
#DCBEB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ceca52;
/* rgb */ color: rgb(206, 202, 82);
/* oklch */ color: oklch(81.9% 0.141 107.3);
Tailwind
colors: {
  custom: {
    50: '#e0d987',
    500: '#ceca52',
    950: '#000000',
  },
}
SCSS
$custom: #ceca52;
$custom-light: #e0d987;
$custom-dark: #000000;
JSON
{
  "hex": "#ceca52",
  "rgb": {
    "r": 206,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 58.065,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81943,
    "c": 0.14085,
    "h": 107.3
  },
  "luminance": 0.55972
}

Semantic roles & 50–950 ramp

primary
#CECA52
secondary
#3C3E88
accent
#4DDF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CECA52

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

Preview Lab → · Contrast checker → · Palette generator →

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