#CECA4D#CECA4D

#CECA4D is a light, vivid yellow. Relative luminance 0.559; OKLCH L 81.9% C 0.145 H 107.5°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#CECA4D
RGBrgb(206, 202, 77)
HSLhsl(58, 57%, 55%)
HSVhsv(58, 63%, 81%)
CMYKcmyk(0%, 1.9%, 62.6%, 19.2%)
CIE-LABlab(79.56, -13.95, 60.81)
CIE-LCHlch(79.56, 62.39, 102.92°)
OKLaboklab(81.9% -0.0434 0.1381)
OKLCHoklch(81.9% 0.145 107.5)
XYZxyz(47.9153, 55.9002, 15.2856)
Luminance0.5590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECA4D #4D51CE
analogous
#CE8A4D #CECA4D #91CE4D
triadic
#CECA4D #4DCECA #CA4DCE
tetradic
#CECA4D #4DCE8A #4D51CE #CE4D91
square
#CECA4D #4DCE8A #4D51CE #CE4D91
split-complementary
#CECA4D #4D91CE #8A4DCE
monochromatic
#7E7B23 #AEAA30 #CECA4D #DBD87D #E8E7AD

Accessibility & contrast

On white

1.72
#CECA4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#CECA4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECA4D
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECA4D#FFFFFF#000000##000000
##CECA4D1.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC23D
Deuteranopia (green-blind)
#DCC755
Tritanopia (blue-blind)
#DCBEB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ceca4d;
/* rgb */ color: rgb(206, 202, 77);
/* oklch */ color: oklch(81.9% 0.145 107.5);
Tailwind
colors: {
  custom: {
    50: '#e0d984',
    500: '#ceca4d',
    950: '#000000',
  },
}
SCSS
$custom: #ceca4d;
$custom-light: #e0d984;
$custom-dark: #000000;
JSON
{
  "hex": "#ceca4d",
  "rgb": {
    "r": 206,
    "g": 202,
    "b": 77
  },
  "hsl": {
    "h": 58.14,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81896,
    "c": 0.14481,
    "h": 107.5
  },
  "luminance": 0.55899
}

Semantic roles & 50–950 ramp

primary
#CECA4D
secondary
#3A3C86
accent
#4CE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CECA4D

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

Preview Lab → · Contrast checker → · Palette generator →

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