#ECF15F#ECF15F

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

Color values

HEX#ECF15F
RGBrgb(236, 241, 95)
HSLhsl(62, 84%, 66%)
HSVhsv(62, 61%, 95%)
CMYKcmyk(2.1%, 0%, 60.6%, 5.5%)
CIE-LABlab(92.39, -19.74, 67.79)
CIE-LCHlch(92.39, 70.61, 106.23°)
OKLaboklab(92.76% -0.0596 0.1547)
OKLCHoklch(92.76% 0.166 111.1)
XYZxyz(68.1148, 81.5713, 22.9810)
Luminance0.8157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF15F #645FF1
analogous
#F1AD5F #ECF15F #A3F15F
triadic
#ECF15F #5FECF1 #F15FEC
tetradic
#ECF15F #5FF1AD #645FF1 #F15FA3
square
#ECF15F #5FF1AD #645FF1 #F15FA3
split-complementary
#ECF15F #5FA3F1 #AD5FF1
monochromatic
#BEC411 #E5EC27 #ECF15F #F3F697 #F9FBD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECF15F#FFFFFF#000000##000000
##ECF15F1.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)
#FFE74D
Deuteranopia (green-blind)
#FFEB68
Tritanopia (blue-blind)
#FBE3D2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ecf15f;
/* rgb */ color: rgb(236, 241, 95);
/* oklch */ color: oklch(92.8% 0.166 111.1);
Tailwind
colors: {
  custom: {
    50: '#f5f592',
    500: '#ecf15f',
    950: '#000000',
  },
}
SCSS
$custom: #ecf15f;
$custom-light: #f5f592;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf15f",
  "rgb": {
    "r": 236,
    "g": 241,
    "b": 95
  },
  "hsl": {
    "h": 62.055,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.92755,
    "c": 0.16581,
    "h": 111.1
  },
  "luminance": 0.8157
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECF15F

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

Preview Lab → · Contrast checker → · Palette generator →

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