#ECEA5E#ECEA5E

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

Color values

HEX#ECEA5E
RGBrgb(236, 234, 94)
HSLhsl(59, 79%, 65%)
HSVhsv(59, 60%, 93%)
CMYKcmyk(0%, 0.8%, 60.2%, 7.5%)
CIE-LABlab(90.55, -16.40, 66.22)
CIE-LCHlch(90.55, 68.23, 103.91°)
OKLaboklab(91.28% -0.0503 0.1513)
OKLCHoklch(91.28% 0.159 108.4)
XYZxyz(66.0373, 77.4886, 22.0657)
Luminance0.7749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEA5E #5E60EC
analogous
#ECA35E #ECEA5E #A7EC5E
triadic
#ECEA5E #5EECEA #EA5EEC
tetradic
#ECEA5E #5EECA3 #5E60EC #EC5EA7
square
#ECEA5E #5EECA3 #5E60EC #EC5EA7
split-complementary
#ECEA5E #5EA7EC #A35EEC
monochromatic
#BAB716 #E6E327 #ECEA5E #F2F195 #F9F8CB

Accessibility & contrast

On white

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

On black

16.50
#ECEA5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEA5E
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEA5E#FFFFFF#000000##000000
##ECEA5E1.001.2716.5016.50
#FFFFFF1.271.0021.0021.00
#00000016.5021.001.001.00
##00000016.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecea5e;
/* rgb */ color: rgb(236, 234, 94);
/* oklch */ color: oklch(91.3% 0.159 108.4);
Tailwind
colors: {
  custom: {
    50: '#f5f091',
    500: '#ecea5e',
    950: '#000000',
  },
}
SCSS
$custom: #ecea5e;
$custom-light: #f5f091;
$custom-dark: #000000;
JSON
{
  "hex": "#ecea5e",
  "rgb": {
    "r": 236,
    "g": 234,
    "b": 94
  },
  "hsl": {
    "h": 59.155,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.91284,
    "c": 0.1594,
    "h": 108.4
  },
  "luminance": 0.77487
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECEA5E

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

Preview Lab → · Contrast checker → · Palette generator →

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