#CECA5E#CECA5E

#CECA5E is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.1% C 0.130 H 107.0°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#CECA5E
RGBrgb(206, 202, 94)
HSLhsl(58, 53%, 59%)
HSVhsv(58, 54%, 81%)
CMYKcmyk(0%, 1.9%, 54.4%, 19.2%)
CIE-LABlab(79.71, -12.74, 53.51)
CIE-LCHlch(79.71, 55.01, 103.39°)
OKLaboklab(82.07% -0.0382 0.1248)
OKLCHoklch(82.07% 0.13 107)
XYZxyz(48.5959, 56.1724, 18.8700)
Luminance0.5617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECA5E #5E62CE
analogous
#CE925E #CECA5E #9ACE5E
triadic
#CECA5E #5ECECA #CA5ECE
tetradic
#CECA5E #5ECE92 #5E62CE #CE5E9A
square
#CECA5E #5ECE92 #5E62CE #CE5E9A
split-complementary
#CECA5E #5E9ACE #925ECE
monochromatic
#888529 #B7B338 #CECA5E #DCD98D #EBE9BC

Accessibility & contrast

On white

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

On black

12.23
#CECA5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECA5E
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECA5E#FFFFFF#000000##000000
##CECA5E1.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C353
Deuteranopia (green-blind)
#DBC864
Tritanopia (blue-blind)
#DBBEB2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ceca5e;
/* rgb */ color: rgb(206, 202, 94);
/* oklch */ color: oklch(82.1% 0.130 107.0);
Tailwind
colors: {
  custom: {
    50: '#dfd98f',
    500: '#ceca5e',
    950: '#000000',
  },
}
SCSS
$custom: #ceca5e;
$custom-light: #dfd98f;
$custom-dark: #000000;
JSON
{
  "hex": "#ceca5e",
  "rgb": {
    "r": 206,
    "g": 202,
    "b": 94
  },
  "hsl": {
    "h": 57.857,
    "s": 53.333,
    "l": 58.824
  },
  "oklch": {
    "l": 0.82069,
    "c": 0.13047,
    "h": 107
  },
  "luminance": 0.56171
}

Semantic roles & 50–950 ramp

primary
#CECA5E
secondary
#41448F
accent
#50DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CECA5E

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

Preview Lab → · Contrast checker → · Palette generator →

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