#ECF15D#ECF15D

#ECF15D is a very light, vivid yellow. Relative luminance 0.815; OKLCH L 92.7% C 0.167 H 111.1°. Best body text is #000000 at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#ECF15D
RGBrgb(236, 241, 93)
HSLhsl(62, 84%, 65%)
HSVhsv(62, 61%, 95%)
CMYKcmyk(2.1%, 0%, 61.4%, 5.5%)
CIE-LABlab(92.37, -19.86, 68.59)
CIE-LCHlch(92.37, 71.41, 106.15°)
OKLaboklab(92.74% -0.0602 0.1561)
OKLCHoklch(92.74% 0.167 111.1)
XYZxyz(68.0251, 81.5354, 22.5083)
Luminance0.8153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF15D #625DF1
analogous
#F1AC5D #ECF15D #A2F15D
triadic
#ECF15D #5DECF1 #F15DEC
tetradic
#ECF15D #5DF1AC #625DF1 #F15DA2
square
#ECF15D #5DF1AC #625DF1 #F15DA2
split-complementary
#ECF15D #5DA2F1 #AC5DF1
monochromatic
#BDC311 #E5EC25 #ECF15D #F3F695 #F9FBCE

Accessibility & contrast

On white

1.21
#ECF15D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.31
#ECF15D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF15D
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF15D#FFFFFF#000000##000000
##ECF15D1.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE74B
Deuteranopia (green-blind)
#FFEB66
Tritanopia (blue-blind)
#FBE3D2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ecf15d;
/* rgb */ color: rgb(236, 241, 93);
/* oklch */ color: oklch(92.7% 0.167 111.1);
Tailwind
colors: {
  custom: {
    50: '#f5f591',
    500: '#ecf15d',
    950: '#000000',
  },
}
SCSS
$custom: #ecf15d;
$custom-light: #f5f591;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf15d",
  "rgb": {
    "r": 236,
    "g": 241,
    "b": 93
  },
  "hsl": {
    "h": 62.027,
    "s": 84.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.92737,
    "c": 0.16733,
    "h": 111.1
  },
  "luminance": 0.81534
}

Semantic roles & 50–950 ramp

primary
#ECF15D
secondary
#3732C0
accent
#05E10C
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #ECF15D

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

Preview Lab → · Contrast checker → · Palette generator →

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