#ECEA5A#ECEA5A

#ECEA5A is a very light, vivid yellow. Relative luminance 0.774; OKLCH L 91.2% C 0.162 H 108.5°. Best body text is #000000 at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#ECEA5A
RGBrgb(236, 234, 90)
HSLhsl(59, 79%, 64%)
HSVhsv(59, 62%, 93%)
CMYKcmyk(0%, 0.8%, 61.9%, 7.5%)
CIE-LABlab(90.51, -16.66, 67.83)
CIE-LCHlch(90.51, 69.84, 103.80°)
OKLaboklab(91.25% -0.0515 0.1541)
OKLCHoklch(91.25% 0.162 108.5)
XYZxyz(65.8625, 77.4186, 21.1447)
Luminance0.7742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEA5A #5A5CEC
analogous
#ECA15A #ECEA5A #A5EC5A
triadic
#ECEA5A #5AECEA #EA5AEC
tetradic
#ECEA5A #5AECA1 #5A5CEC #EC5AA5
square
#ECEA5A #5AECA1 #5A5CEC #EC5AA5
split-complementary
#ECEA5A #5AA5EC #A15AEC
monochromatic
#B7B415 #E6E323 #ECEA5A #F2F191 #F9F8C8

Accessibility & contrast

On white

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

On black

16.48
#ECEA5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEA5A
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEA5A#FFFFFF#000000##000000
##ECEA5A1.001.2716.4816.48
#FFFFFF1.271.0021.0021.00
#00000016.4821.001.001.00
##00000016.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecea5a;
/* rgb */ color: rgb(236, 234, 90);
/* oklch */ color: oklch(91.2% 0.162 108.5);
Tailwind
colors: {
  custom: {
    50: '#f5f08f',
    500: '#ecea5a',
    950: '#000000',
  },
}
SCSS
$custom: #ecea5a;
$custom-light: #f5f08f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecea5a",
  "rgb": {
    "r": 236,
    "g": 234,
    "b": 90
  },
  "hsl": {
    "h": 59.178,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.91248,
    "c": 0.16246,
    "h": 108.5
  },
  "luminance": 0.77417
}

Semantic roles & 50–950 ramp

primary
#ECEA5A
secondary
#3436B6
accent
#0DDC0A
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #ECEA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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