#ECED5C#ECED5C

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

Color values

HEX#ECED5C
RGBrgb(236, 237, 92)
HSLhsl(60, 80%, 65%)
HSVhsv(60, 61%, 93%)
CMYKcmyk(0.4%, 0%, 61.2%, 7.1%)
CIE-LABlab(91.31, -17.99, 67.87)
CIE-LCHlch(91.31, 70.21, 104.85°)
OKLaboklab(91.89% -0.055 0.1545)
OKLCHoklch(91.89% 0.164 109.6)
XYZxyz(66.8101, 79.1757, 21.8862)
Luminance0.7917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECED5C #5D5CED
analogous
#EDA65C #ECED5C #A4ED5C
triadic
#ECED5C #5CECED #ED5CEC
tetradic
#ECED5C #5CEDA6 #5D5CED #ED5CA4
square
#ECED5C #5CEDA6 #5D5CED #ED5CA4
split-complementary
#ECED5C #5CA4ED #A65CED
monochromatic
#B9BA15 #E6E725 #ECED5C #F2F393 #F9F9CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECED5C#FFFFFF#000000##000000
##ECED5C1.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)
#FFE44A
Deuteranopia (green-blind)
#FFE865
Tritanopia (blue-blind)
#FBDFCF
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #eced5c;
/* rgb */ color: rgb(236, 237, 92);
/* oklch */ color: oklch(91.9% 0.164 109.6);
Tailwind
colors: {
  custom: {
    50: '#f5f290',
    500: '#eced5c',
    950: '#000000',
  },
}
SCSS
$custom: #eced5c;
$custom-light: #f5f290;
$custom-dark: #000000;
JSON
{
  "hex": "#eced5c",
  "rgb": {
    "r": 236,
    "g": 237,
    "b": 92
  },
  "hsl": {
    "h": 60.414,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.91891,
    "c": 0.16396,
    "h": 109.6
  },
  "luminance": 0.79174
}

Semantic roles & 50–950 ramp

primary
#ECED5C
secondary
#3534B9
accent
#09DC0B
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #ECED5C

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

Preview Lab → · Contrast checker → · Palette generator →

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