#ECED2F#ECED2F

#ECED2F is a very light, vivid yellow. Relative luminance 0.786; OKLCH L 91.6% C 0.190 H 110.0°. Best body text is #000000 at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#ECED2F
RGBrgb(236, 237, 47)
HSLhsl(60, 84%, 56%)
HSVhsv(60, 80%, 93%)
CMYKcmyk(0.4%, 0%, 80.2%, 7.1%)
CIE-LABlab(91.06, -20.05, 82.64)
CIE-LCHlch(91.06, 85.04, 103.64°)
OKLaboklab(91.6% -0.0648 0.1784)
OKLCHoklch(91.6% 0.19 110)
XYZxyz(65.3919, 78.6085, 14.4171)
Luminance0.7861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECED2F #302FED
analogous
#ED8F2F #ECED2F #8DED2F
triadic
#ECED2F #2FECED #ED2FEC
tetradic
#ECED2F #2FED8F #302FED #ED2F8D
square
#ECED2F #2FED8F #302FED #ED2F8D
split-complementary
#ECED2F #2F8DED #8F2FED
monochromatic
#94950D #CCCD12 #ECED2F #F1F267 #F6F7A0

Accessibility & contrast

On white

1.26
#ECED2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.72
#ECED2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECED2F
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECED2F#FFFFFF#000000##000000
##ECED2F1.001.2616.7216.72
#FFFFFF1.261.0021.0021.00
#00000016.7221.001.001.00
##00000016.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE300
Deuteranopia (green-blind)
#FFE842
Tritanopia (blue-blind)
#FDDDCB
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #eced2f;
/* rgb */ color: rgb(236, 237, 47);
/* oklch */ color: oklch(91.6% 0.190 110.0);
Tailwind
colors: {
  custom: {
    50: '#f7f27a',
    500: '#eced2f',
    950: '#000000',
  },
}
SCSS
$custom: #eced2f;
$custom-light: #f7f27a;
$custom-dark: #000000;
JSON
{
  "hex": "#eced2f",
  "rgb": {
    "r": 236,
    "g": 237,
    "b": 47
  },
  "hsl": {
    "h": 60.316,
    "s": 84.071,
    "l": 55.686
  },
  "oklch": {
    "l": 0.91604,
    "c": 0.18979,
    "h": 110
  },
  "luminance": 0.78606
}

Semantic roles & 50–950 ramp

primary
#ECED2F
secondary
#282899
accent
#2DFA2F
background
#FFFFFB
surface
#FFFEF2
border
#D7D6CC
text
#18160A
muted
#86857D

Preview Lab

Preview with #ECED2F

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

Preview Lab → · Contrast checker → · Palette generator →

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