#CECA2F#CECA2F

#CECA2F is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.7% C 0.164 H 108.0°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#CECA2F
RGBrgb(206, 202, 47)
HSLhsl(58, 63%, 50%)
HSVhsv(58, 77%, 81%)
CMYKcmyk(0%, 1.9%, 77.2%, 19.2%)
CIE-LABlab(79.37, -15.43, 71.47)
CIE-LCHlch(79.37, 73.11, 102.19°)
OKLaboklab(81.69% -0.0505 0.1556)
OKLCHoklch(81.69% 0.164 108)
XYZxyz(47.0891, 55.5697, 10.9343)
Luminance0.5557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECA2F #2F33CE
analogous
#CE7B2F #CECA2F #82CE2F
triadic
#CECA2F #2FCECA #CA2FCE
tetradic
#CECA2F #2FCE7B #2F33CE #CE2F82
square
#CECA2F #2FCE7B #2F33CE #CE2F82
split-complementary
#CECA2F #2F82CE #7B2FCE
monochromatic
#6A6818 #9C9924 #CECA2F #DBD860 #E6E491

Accessibility & contrast

On white

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

On black

12.11
#CECA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECA2F
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECA2F#FFFFFF#000000##000000
##CECA2F1.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC200
Deuteranopia (green-blind)
#DEC73C
Tritanopia (blue-blind)
#DDBCAD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ceca2f;
/* rgb */ color: rgb(206, 202, 47);
/* oklch */ color: oklch(81.7% 0.164 108.0);
Tailwind
colors: {
  custom: {
    50: '#e1d975',
    500: '#ceca2f',
    950: '#000000',
  },
}
SCSS
$custom: #ceca2f;
$custom-light: #e1d975;
$custom-dark: #000000;
JSON
{
  "hex": "#ceca2f",
  "rgb": {
    "r": 206,
    "g": 202,
    "b": 47
  },
  "hsl": {
    "h": 58.491,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.81685,
    "c": 0.1636,
    "h": 108
  },
  "luminance": 0.55568
}

Semantic roles & 50–950 ramp

primary
#CECA2F
secondary
#2D2F74
accent
#46E642
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CECA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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