#CECA48#CECA48

#CECA48 is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.9% C 0.149 H 107.6°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#CECA48
RGBrgb(206, 202, 72)
HSLhsl(58, 58%, 55%)
HSVhsv(58, 65%, 81%)
CMYKcmyk(0%, 1.9%, 65%, 19.2%)
CIE-LABlab(79.52, -14.25, 62.81)
CIE-LCHlch(79.52, 64.41, 102.78°)
OKLaboklab(81.85% -0.0448 0.1416)
OKLCHoklch(81.85% 0.149 107.6)
XYZxyz(47.7455, 55.8323, 14.3913)
Luminance0.5583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECA48 #484CCE
analogous
#CE8748 #CECA48 #8FCE48
triadic
#CECA48 #48CECA #CA48CE
tetradic
#CECA48 #48CE87 #484CCE #CE488F
square
#CECA48 #48CE87 #484CCE #CE488F
split-complementary
#CECA48 #488FCE #8748CE
monochromatic
#7B7821 #ABA72E #CECA48 #DBD878 #E8E6A9

Accessibility & contrast

On white

1.73
#CECA48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#CECA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECA48
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECA48#FFFFFF#000000##000000
##CECA481.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC236
Deuteranopia (green-blind)
#DDC750
Tritanopia (blue-blind)
#DCBDAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ceca48;
/* rgb */ color: rgb(206, 202, 72);
/* oklch */ color: oklch(81.9% 0.149 107.6);
Tailwind
colors: {
  custom: {
    50: '#e0d982',
    500: '#ceca48',
    950: '#000000',
  },
}
SCSS
$custom: #ceca48;
$custom-light: #e0d982;
$custom-dark: #000000;
JSON
{
  "hex": "#ceca48",
  "rgb": {
    "r": 206,
    "g": 202,
    "b": 72
  },
  "hsl": {
    "h": 58.209,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81853,
    "c": 0.14853,
    "h": 107.6
  },
  "luminance": 0.55831
}

Semantic roles & 50–950 ramp

primary
#CECA48
secondary
#373A83
accent
#4BE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CECA48

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

Preview Lab → · Contrast checker → · Palette generator →

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