#ECF58B#ECF58B

#ECF58B is a very light, vivid yellow. Relative luminance 0.850; OKLCH L 94.1% C 0.130 H 112.9°. Best body text is #000000 at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#ECF58B
RGBrgb(236, 245, 139)
HSLhsl(65, 84%, 75%)
HSVhsv(65, 43%, 96%)
CMYKcmyk(3.7%, 0%, 43.3%, 3.9%)
CIE-LABlab(93.88, -18.05, 49.84)
CIE-LCHlch(93.88, 53.01, 109.90°)
OKLaboklab(94.1% -0.0506 0.12)
OKLCHoklch(94.1% 0.13 112.9)
XYZxyz(71.9056, 85.0029, 37.0404)
Luminance0.8500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF58B #948BF5
analogous
#F5C98B #ECF58B #B7F58B
triadic
#ECF58B #8BECF5 #F58BEC
tetradic
#ECF58B #8BF5C9 #948BF5 #F58BB7
square
#ECF58B #8BF5C9 #948BF5 #F58BB7
split-complementary
#ECF58B #8BB7F5 #C98BF5
monochromatic
#DAEB1A #E3F053 #ECF58B #F5FAC3 #FAFDE3

Accessibility & contrast

On white

1.17
#ECF58B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.00
#ECF58B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF58B
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF58B#FFFFFF#000000##000000
##ECF58B1.001.1718.0018.00
#FFFFFF1.171.0021.0021.00
#00000018.0021.001.001.00
##00000018.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC82
Deuteranopia (green-blind)
#FFEF90
Tritanopia (blue-blind)
#F8EADC
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ecf58b;
/* rgb */ color: rgb(236, 245, 139);
/* oklch */ color: oklch(94.1% 0.130 112.9);
Tailwind
colors: {
  custom: {
    50: '#f4f8af',
    500: '#ecf58b',
    950: '#000000',
  },
}
SCSS
$custom: #ecf58b;
$custom-light: #f4f8af;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf58b",
  "rgb": {
    "r": 236,
    "g": 245,
    "b": 139
  },
  "hsl": {
    "h": 65.094,
    "s": 84.127,
    "l": 75.294
  },
  "oklch": {
    "l": 0.94097,
    "c": 0.13027,
    "h": 112.9
  },
  "luminance": 0.85002
}

Semantic roles & 50–950 ramp

primary
#ECF58B
secondary
#5D52D2
accent
#05E118
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECF58B

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

Preview Lab → · Contrast checker → · Palette generator →

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