#CECA4C#CECA4C

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

Color values

HEX#CECA4C
RGBrgb(206, 202, 76)
HSLhsl(58, 57%, 55%)
HSVhsv(58, 63%, 81%)
CMYKcmyk(0%, 1.9%, 63.1%, 19.2%)
CIE-LABlab(79.55, -14.01, 61.21)
CIE-LCHlch(79.55, 62.80, 102.89°)
OKLaboklab(81.89% -0.0437 0.1389)
OKLCHoklch(81.89% 0.146 107.5)
XYZxyz(47.8803, 55.8862, 15.1010)
Luminance0.5588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECA4C #4C50CE
analogous
#CE894C #CECA4C #91CE4C
triadic
#CECA4C #4CCECA #CA4CCE
tetradic
#CECA4C #4CCE89 #4C50CE #CE4C91
square
#CECA4C #4CCE89 #4C50CE #CE4C91
split-complementary
#CECA4C #4C91CE #894CCE
monochromatic
#7D7B22 #ADA92F #CECA4C #DBD87C #E8E6AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CECA4C#FFFFFF#000000##000000
##CECA4C1.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)
#DAC23C
Deuteranopia (green-blind)
#DCC754
Tritanopia (blue-blind)
#DCBEB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ceca4c;
/* rgb */ color: rgb(206, 202, 76);
/* oklch */ color: oklch(81.9% 0.146 107.5);
Tailwind
colors: {
  custom: {
    50: '#e0d984',
    500: '#ceca4c',
    950: '#000000',
  },
}
SCSS
$custom: #ceca4c;
$custom-light: #e0d984;
$custom-dark: #000000;
JSON
{
  "hex": "#ceca4c",
  "rgb": {
    "r": 206,
    "g": 202,
    "b": 76
  },
  "hsl": {
    "h": 58.154,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81887,
    "c": 0.14557,
    "h": 107.5
  },
  "luminance": 0.55885
}

Semantic roles & 50–950 ramp

primary
#CECA4C
secondary
#393B85
accent
#4CE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CECA4C

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

Preview Lab → · Contrast checker → · Palette generator →

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