#ECF15B#ECF15B

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

Color values

HEX#ECF15B
RGBrgb(236, 241, 91)
HSLhsl(62, 84%, 65%)
HSVhsv(62, 62%, 95%)
CMYKcmyk(2.1%, 0%, 62.2%, 5.5%)
CIE-LABlab(92.35, -19.99, 69.37)
CIE-LCHlch(92.35, 72.19, 106.07°)
OKLaboklab(92.72% -0.0608 0.1575)
OKLCHoklch(92.72% 0.169 111.1)
XYZxyz(67.9377, 81.5004, 22.0479)
Luminance0.8150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF15B #605BF1
analogous
#F1AB5B #ECF15B #A1F15B
triadic
#ECF15B #5BECF1 #F15BEC
tetradic
#ECF15B #5BF1AB #605BF1 #F15BA1
square
#ECF15B #5BF1AB #605BF1 #F15BA1
split-complementary
#ECF15B #5BA1F1 #AB5BF1
monochromatic
#BBC110 #E5EC23 #ECF15B #F3F693 #F9FBCC

Accessibility & contrast

On white

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

On black

17.30
#ECF15B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF15B
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF15B#FFFFFF#000000##000000
##ECF15B1.001.2117.3017.30
#FFFFFF1.211.0021.0021.00
#00000017.3021.001.001.00
##00000017.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecf15b;
/* rgb */ color: rgb(236, 241, 91);
/* oklch */ color: oklch(92.7% 0.169 111.1);
Tailwind
colors: {
  custom: {
    50: '#f5f590',
    500: '#ecf15b',
    950: '#000000',
  },
}
SCSS
$custom: #ecf15b;
$custom-light: #f5f590;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf15b",
  "rgb": {
    "r": 236,
    "g": 241,
    "b": 91
  },
  "hsl": {
    "h": 62,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.92719,
    "c": 0.16881,
    "h": 111.1
  },
  "luminance": 0.81499
}

Semantic roles & 50–950 ramp

primary
#ECF15B
secondary
#3631BF
accent
#05E10C
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #ECF15B

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

Preview Lab → · Contrast checker → · Palette generator →

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