#ECED5A#ECED5A

#ECED5A is a very light, vivid yellow. Relative luminance 0.791; OKLCH L 91.9% C 0.165 H 109.6°. Best body text is #000000 at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#ECED5A
RGBrgb(236, 237, 90)
HSLhsl(60, 80%, 64%)
HSVhsv(60, 62%, 93%)
CMYKcmyk(0.4%, 0%, 62%, 7.1%)
CIE-LABlab(91.30, -18.12, 68.66)
CIE-LCHlch(91.30, 71.01, 104.78°)
OKLaboklab(91.87% -0.0556 0.1558)
OKLCHoklch(91.87% 0.165 109.6)
XYZxyz(66.7238, 79.1412, 21.4319)
Luminance0.7914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECED5A #5B5AED
analogous
#EDA55A #ECED5A #A3ED5A
triadic
#ECED5A #5AECED #ED5AEC
tetradic
#ECED5A #5AEDA5 #5B5AED #ED5AA3
square
#ECED5A #5AEDA5 #5B5AED #ED5AA3
split-complementary
#ECED5A #5AA3ED #A55AED
monochromatic
#B7B814 #E6E723 #ECED5A #F2F391 #F9F9C8

Accessibility & contrast

On white

1.25
#ECED5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.83
#ECED5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECED5A
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECED5A#FFFFFF#000000##000000
##ECED5A1.001.2516.8316.83
#FFFFFF1.251.0021.0021.00
#00000016.8321.001.001.00
##00000016.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE447
Deuteranopia (green-blind)
#FFE863
Tritanopia (blue-blind)
#FCDFCE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #eced5a;
/* rgb */ color: rgb(236, 237, 90);
/* oklch */ color: oklch(91.9% 0.165 109.6);
Tailwind
colors: {
  custom: {
    50: '#f5f28f',
    500: '#eced5a',
    950: '#000000',
  },
}
SCSS
$custom: #eced5a;
$custom-light: #f5f28f;
$custom-dark: #000000;
JSON
{
  "hex": "#eced5a",
  "rgb": {
    "r": 236,
    "g": 237,
    "b": 90
  },
  "hsl": {
    "h": 60.408,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.91874,
    "c": 0.16545,
    "h": 109.6
  },
  "luminance": 0.79139
}

Semantic roles & 50–950 ramp

primary
#ECED5A
secondary
#3433B8
accent
#09DD0A
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #ECED5A

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

Preview Lab → · Contrast checker → · Palette generator →

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