#CECA5B#CECA5B

#CECA5B is a very light, vivid yellow. Relative luminance 0.561; OKLCH L 82.0% C 0.133 H 107.1°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#CECA5B
RGBrgb(206, 202, 91)
HSLhsl(58, 54%, 58%)
HSVhsv(58, 56%, 81%)
CMYKcmyk(0%, 1.9%, 55.8%, 19.2%)
CIE-LABlab(79.68, -12.97, 54.85)
CIE-LCHlch(79.68, 56.36, 103.31°)
OKLaboklab(82.04% -0.0391 0.1273)
OKLCHoklch(82.04% 0.133 107.1)
XYZxyz(48.4639, 56.1196, 18.1748)
Luminance0.5612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECA5B #5B5FCE
analogous
#CE905B #CECA5B #98CE5B
triadic
#CECA5B #5BCECA #CA5BCE
tetradic
#CECA5B #5BCE90 #5B5FCE #CE5B98
square
#CECA5B #5BCE90 #5B5FCE #CE5B98
split-complementary
#CECA5B #5B98CE #905BCE
monochromatic
#868328 #B6B136 #CECA5B #DCD98A #EAE8B9

Accessibility & contrast

On white

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

On black

12.22
#CECA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECA5B
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECA5B#FFFFFF#000000##000000
##CECA5B1.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C350
Deuteranopia (green-blind)
#DBC861
Tritanopia (blue-blind)
#DBBEB2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ceca5b;
/* rgb */ color: rgb(206, 202, 91);
/* oklch */ color: oklch(82.0% 0.133 107.1);
Tailwind
colors: {
  custom: {
    50: '#dfd98d',
    500: '#ceca5b',
    950: '#000000',
  },
}
SCSS
$custom: #ceca5b;
$custom-light: #dfd98d;
$custom-dark: #000000;
JSON
{
  "hex": "#ceca5b",
  "rgb": {
    "r": 206,
    "g": 202,
    "b": 91
  },
  "hsl": {
    "h": 57.913,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82036,
    "c": 0.13317,
    "h": 107.1
  },
  "luminance": 0.56118
}

Semantic roles & 50–950 ramp

primary
#CECA5B
secondary
#40438D
accent
#50DD4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CECA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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