#CECA3C#CECA3C

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

Color values

HEX#CECA3C
RGBrgb(206, 202, 60)
HSLhsl(58, 60%, 52%)
HSVhsv(58, 71%, 81%)
CMYKcmyk(0%, 1.9%, 70.9%, 19.2%)
CIE-LABlab(79.44, -14.89, 67.27)
CIE-LCHlch(79.44, 68.90, 102.48°)
OKLaboklab(81.76% -0.0478 0.149)
OKLCHoklch(81.76% 0.157 107.8)
XYZxyz(47.3915, 55.6907, 12.5271)
Luminance0.5569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECA3C #3C40CE
analogous
#CE813C #CECA3C #89CE3C
triadic
#CECA3C #3CCECA #CA3CCE
tetradic
#CECA3C #3CCE81 #3C40CE #CE3C89
square
#CECA3C #3CCE81 #3C40CE #CE3C89
split-complementary
#CECA3C #3C89CE #813CCE
monochromatic
#73701D #A4A029 #CECA3C #DAD76D #E7E59E

Accessibility & contrast

On white

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

On black

12.14
#CECA3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECA3C
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECA3C#FFFFFF#000000##000000
##CECA3C1.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ceca3c;
/* rgb */ color: rgb(206, 202, 60);
/* oklch */ color: oklch(81.8% 0.157 107.8);
Tailwind
colors: {
  custom: {
    50: '#e1d97b',
    500: '#ceca3c',
    950: '#000000',
  },
}
SCSS
$custom: #ceca3c;
$custom-light: #e1d97b;
$custom-dark: #000000;
JSON
{
  "hex": "#ceca3c",
  "rgb": {
    "r": 206,
    "g": 202,
    "b": 60
  },
  "hsl": {
    "h": 58.356,
    "s": 59.836,
    "l": 52.157
  },
  "oklch": {
    "l": 0.81762,
    "c": 0.15652,
    "h": 107.8
  },
  "luminance": 0.55689
}

Semantic roles & 50–950 ramp

primary
#CECA3C
secondary
#33357C
accent
#49E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CECA3C

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

Preview Lab → · Contrast checker → · Palette generator →

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