#CECA47#CECA47

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

Color values

HEX#CECA47
RGBrgb(206, 202, 71)
HSLhsl(58, 58%, 54%)
HSVhsv(58, 66%, 81%)
CMYKcmyk(0%, 1.9%, 65.5%, 19.2%)
CIE-LABlab(79.51, -14.31, 63.20)
CIE-LCHlch(79.51, 64.80, 102.76°)
OKLaboklab(81.84% -0.0451 0.1423)
OKLCHoklch(81.84% 0.149 107.6)
XYZxyz(47.7131, 55.8193, 14.2209)
Luminance0.5582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECA47 #474BCE
analogous
#CE8747 #CECA47 #8FCE47
triadic
#CECA47 #47CECA #CA47CE
tetradic
#CECA47 #47CE87 #474BCE #CE478F
square
#CECA47 #47CE87 #474BCE #CE478F
split-complementary
#CECA47 #478FCE #8747CE
monochromatic
#7A7721 #AAA72D #CECA47 #DBD877 #E8E6A8

Accessibility & contrast

On white

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

On black

12.16
#CECA47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECA47
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECA47#FFFFFF#000000##000000
##CECA471.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ceca47;
/* rgb */ color: rgb(206, 202, 71);
/* oklch */ color: oklch(81.8% 0.149 107.6);
Tailwind
colors: {
  custom: {
    50: '#e0d981',
    500: '#ceca47',
    950: '#000000',
  },
}
SCSS
$custom: #ceca47;
$custom-light: #e0d981;
$custom-dark: #000000;
JSON
{
  "hex": "#ceca47",
  "rgb": {
    "r": 206,
    "g": 202,
    "b": 71
  },
  "hsl": {
    "h": 58.222,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81844,
    "c": 0.14925,
    "h": 107.6
  },
  "luminance": 0.55818
}

Semantic roles & 50–950 ramp

primary
#CECA47
secondary
#373982
accent
#4BE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CECA47

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

Preview Lab → · Contrast checker → · Palette generator →

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