#ECEA5D#ECEA5D

#ECEA5D is a very light, vivid yellow. Relative luminance 0.775; OKLCH L 91.3% C 0.160 H 108.4°. Best body text is #000000 at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#ECEA5D
RGBrgb(236, 234, 93)
HSLhsl(59, 79%, 65%)
HSVhsv(59, 61%, 93%)
CMYKcmyk(0%, 0.8%, 60.6%, 7.5%)
CIE-LABlab(90.54, -16.47, 66.63)
CIE-LCHlch(90.54, 68.63, 103.88°)
OKLaboklab(91.28% -0.0506 0.152)
OKLCHoklch(91.28% 0.16 108.4)
XYZxyz(65.9928, 77.4707, 21.8309)
Luminance0.7747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEA5D #5D5FEC
analogous
#ECA35D #ECEA5D #A7EC5D
triadic
#ECEA5D #5DECEA #EA5DEC
tetradic
#ECEA5D #5DECA3 #5D5FEC #EC5DA7
square
#ECEA5D #5DECA3 #5D5FEC #EC5DA7
split-complementary
#ECEA5D #5DA7EC #A35DEC
monochromatic
#B9B716 #E6E326 #ECEA5D #F2F194 #F9F8CB

Accessibility & contrast

On white

1.27
#ECEA5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.49
#ECEA5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEA5D
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEA5D#FFFFFF#000000##000000
##ECEA5D1.001.2716.4916.49
#FFFFFF1.271.0021.0021.00
#00000016.4921.001.001.00
##00000016.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE14C
Deuteranopia (green-blind)
#FEE665
Tritanopia (blue-blind)
#FCDCCC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ecea5d;
/* rgb */ color: rgb(236, 234, 93);
/* oklch */ color: oklch(91.3% 0.160 108.4);
Tailwind
colors: {
  custom: {
    50: '#f5f091',
    500: '#ecea5d',
    950: '#000000',
  },
}
SCSS
$custom: #ecea5d;
$custom-light: #f5f091;
$custom-dark: #000000;
JSON
{
  "hex": "#ecea5d",
  "rgb": {
    "r": 236,
    "g": 234,
    "b": 93
  },
  "hsl": {
    "h": 59.161,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.91275,
    "c": 0.16018,
    "h": 108.4
  },
  "luminance": 0.77469
}

Semantic roles & 50–950 ramp

primary
#ECEA5D
secondary
#3537B8
accent
#0DDB0A
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #ECEA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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