#ECF15E#ECF15E

#ECF15E is a very light, vivid yellow. Relative luminance 0.816; 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#ECF15E
RGBrgb(236, 241, 94)
HSLhsl(62, 84%, 66%)
HSVhsv(62, 61%, 95%)
CMYKcmyk(2.1%, 0%, 61%, 5.5%)
CIE-LABlab(92.38, -19.80, 68.19)
CIE-LCHlch(92.38, 71.01, 106.19°)
OKLaboklab(92.75% -0.0599 0.1554)
OKLCHoklch(92.75% 0.167 111.1)
XYZxyz(68.0697, 81.5532, 22.7431)
Luminance0.8155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF15E #635EF1
analogous
#F1AC5E #ECF15E #A2F15E
triadic
#ECF15E #5EECF1 #F15EEC
tetradic
#ECF15E #5EF1AC #635EF1 #F15EA2
square
#ECF15E #5EF1AC #635EF1 #F15EA2
split-complementary
#ECF15E #5EA2F1 #AC5EF1
monochromatic
#BEC411 #E5EC26 #ECF15E #F3F696 #F9FBCF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECF15E#FFFFFF#000000##000000
##ECF15E1.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)
#FFE74C
Deuteranopia (green-blind)
#FFEB67
Tritanopia (blue-blind)
#FBE3D2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ecf15e;
/* rgb */ color: rgb(236, 241, 94);
/* oklch */ color: oklch(92.7% 0.167 111.1);
Tailwind
colors: {
  custom: {
    50: '#f5f592',
    500: '#ecf15e',
    950: '#000000',
  },
}
SCSS
$custom: #ecf15e;
$custom-light: #f5f592;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf15e",
  "rgb": {
    "r": 236,
    "g": 241,
    "b": 94
  },
  "hsl": {
    "h": 62.041,
    "s": 84,
    "l": 65.686
  },
  "oklch": {
    "l": 0.92746,
    "c": 0.16656,
    "h": 111.1
  },
  "luminance": 0.81552
}

Semantic roles & 50–950 ramp

primary
#ECF15E
secondary
#3732C1
accent
#05E00D
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #ECF15E

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

Preview Lab → · Contrast checker → · Palette generator →

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