#ECED5F#ECED5F

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

Color values

HEX#ECED5F
RGBrgb(236, 237, 95)
HSLhsl(60, 80%, 65%)
HSVhsv(60, 60%, 93%)
CMYKcmyk(0.4%, 0%, 59.9%, 7.1%)
CIE-LABlab(91.34, -17.80, 66.67)
CIE-LCHlch(91.34, 69.00, 104.95°)
OKLaboklab(91.92% -0.0542 0.1523)
OKLCHoklch(91.92% 0.162 109.6)
XYZxyz(66.9438, 79.2292, 22.5906)
Luminance0.7923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECED5F #605FED
analogous
#EDA75F #ECED5F #A5ED5F
triadic
#ECED5F #5FECED #ED5FEC
tetradic
#ECED5F #5FEDA7 #605FED #ED5FA5
square
#ECED5F #5FEDA7 #605FED #ED5FA5
split-complementary
#ECED5F #5FA5ED #A75FED
monochromatic
#BBBC15 #E5E728 #ECED5F #F3F396 #F9F9CD

Accessibility & contrast

On white

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

On black

16.85
#ECED5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECED5F
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECED5F#FFFFFF#000000##000000
##ECED5F1.001.2516.8516.85
#FFFFFF1.251.0021.0021.00
#00000016.8521.001.001.00
##00000016.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE44E
Deuteranopia (green-blind)
#FFE868
Tritanopia (blue-blind)
#FBDFCF
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #eced5f;
/* rgb */ color: rgb(236, 237, 95);
/* oklch */ color: oklch(91.9% 0.162 109.6);
Tailwind
colors: {
  custom: {
    50: '#f5f292',
    500: '#eced5f',
    950: '#000000',
  },
}
SCSS
$custom: #eced5f;
$custom-light: #f5f292;
$custom-dark: #000000;
JSON
{
  "hex": "#eced5f",
  "rgb": {
    "r": 236,
    "g": 237,
    "b": 95
  },
  "hsl": {
    "h": 60.423,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.91918,
    "c": 0.16167,
    "h": 109.6
  },
  "luminance": 0.79227
}

Semantic roles & 50–950 ramp

primary
#ECED5F
secondary
#3635BB
accent
#09DC0B
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #ECED5F

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

Preview Lab → · Contrast checker → · Palette generator →

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