#CECA3A#CECA3A

#CECA3A is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.7% C 0.158 H 107.8°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#CECA3A
RGBrgb(206, 202, 58)
HSLhsl(58, 60%, 52%)
HSVhsv(58, 72%, 81%)
CMYKcmyk(0%, 1.9%, 71.8%, 19.2%)
CIE-LABlab(79.43, -14.98, 67.97)
CIE-LCHlch(79.43, 69.60, 102.43°)
OKLaboklab(81.75% -0.0483 0.1502)
OKLCHoklch(81.75% 0.158 107.8)
XYZxyz(47.3397, 55.6699, 12.2539)
Luminance0.5567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECA3A #3A3ECE
analogous
#CE803A #CECA3A #88CE3A
triadic
#CECA3A #3ACECA #CA3ACE
tetradic
#CECA3A #3ACE80 #3A3ECE #CE3A88
square
#CECA3A #3ACE80 #3A3ECE #CE3A88
split-complementary
#CECA3A #3A88CE #803ACE
monochromatic
#716F1C #A29F28 #CECA3A #DAD76B #E6E49C

Accessibility & contrast

On white

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

On black

12.13
#CECA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECA3A
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECA3A#FFFFFF#000000##000000
##CECA3A1.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC21F
Deuteranopia (green-blind)
#DDC745
Tritanopia (blue-blind)
#DDBDAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ceca3a;
/* rgb */ color: rgb(206, 202, 58);
/* oklch */ color: oklch(81.7% 0.158 107.8);
Tailwind
colors: {
  custom: {
    50: '#e1d97a',
    500: '#ceca3a',
    950: '#000000',
  },
}
SCSS
$custom: #ceca3a;
$custom-light: #e1d97a;
$custom-dark: #000000;
JSON
{
  "hex": "#ceca3a",
  "rgb": {
    "r": 206,
    "g": 202,
    "b": 58
  },
  "hsl": {
    "h": 58.378,
    "s": 60.163,
    "l": 51.765
  },
  "oklch": {
    "l": 0.81749,
    "c": 0.15772,
    "h": 107.8
  },
  "luminance": 0.55668
}

Semantic roles & 50–950 ramp

primary
#CECA3A
secondary
#32347A
accent
#49E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CECA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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