#CECA56#CECA56

#CECA56 is a light, vivid yellow. Relative luminance 0.560; OKLCH L 82.0% C 0.138 H 107.2°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#CECA56
RGBrgb(206, 202, 86)
HSLhsl(58, 55%, 57%)
HSVhsv(58, 58%, 81%)
CMYKcmyk(0%, 1.9%, 58.3%, 19.2%)
CIE-LABlab(79.63, -13.34, 57.03)
CIE-LCHlch(79.63, 58.57, 103.17°)
OKLaboklab(81.98% -0.0407 0.1314)
OKLCHoklch(81.98% 0.138 107.2)
XYZxyz(48.2553, 56.0362, 17.0764)
Luminance0.5604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECA56 #565ACE
analogous
#CE8E56 #CECA56 #96CE56
triadic
#CECA56 #56CECA #CA56CE
tetradic
#CECA56 #56CE8E #565ACE #CE5696
square
#CECA56 #56CE8E #565ACE #CE5696
split-complementary
#CECA56 #5696CE #8E56CE
monochromatic
#838026 #B3AF34 #CECA56 #DCD985 #EAE8B5

Accessibility & contrast

On white

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

On black

12.21
#CECA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECA56
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECA56#FFFFFF#000000##000000
##CECA561.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C349
Deuteranopia (green-blind)
#DCC85C
Tritanopia (blue-blind)
#DCBEB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ceca56;
/* rgb */ color: rgb(206, 202, 86);
/* oklch */ color: oklch(82.0% 0.138 107.2);
Tailwind
colors: {
  custom: {
    50: '#e0d98a',
    500: '#ceca56',
    950: '#000000',
  },
}
SCSS
$custom: #ceca56;
$custom-light: #e0d98a;
$custom-dark: #000000;
JSON
{
  "hex": "#ceca56",
  "rgb": {
    "r": 206,
    "g": 202,
    "b": 86
  },
  "hsl": {
    "h": 58,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81983,
    "c": 0.13752,
    "h": 107.2
  },
  "luminance": 0.56035
}

Semantic roles & 50–950 ramp

primary
#CECA56
secondary
#3E408B
accent
#4EDE49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CECA56

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

Preview Lab → · Contrast checker → · Palette generator →

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