#ECF28E#ECF28E

#ECF28E is a very light, vivid yellow. Relative luminance 0.833; OKLCH L 93.5% C 0.124 H 111.5°. Best body text is #000000 at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#ECF28E
RGBrgb(236, 242, 142)
HSLhsl(64, 79%, 75%)
HSVhsv(64, 41%, 95%)
CMYKcmyk(2.5%, 0%, 41.3%, 5.1%)
CIE-LABlab(93.14, -16.28, 47.47)
CIE-LCHlch(93.14, 50.19, 108.93°)
OKLaboklab(93.52% -0.0453 0.1149)
OKLCHoklch(93.52% 0.124 111.5)
XYZxyz(71.2276, 83.2913, 37.9106)
Luminance0.8329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF28E #948EF2
analogous
#F2C68E #ECF28E #BAF28E
triadic
#ECF28E #8EECF2 #F28EEC
tetradic
#ECF28E #8EF2C6 #948EF2 #F28EBA
square
#ECF28E #8EF2C6 #948EF2 #F28EBA
split-complementary
#ECF28E #8EBAF2 #C68EF2
monochromatic
#DAE520 #E3EC57 #ECF28E #F5F8C5 #FAFCE4

Accessibility & contrast

On white

1.19
#ECF28E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.66
#ECF28E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF28E
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF28E#FFFFFF#000000##000000
##ECF28E1.001.1917.6617.66
#FFFFFF1.191.0021.0021.00
#00000017.6621.001.001.00
##00000017.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA86
Deuteranopia (green-blind)
#FFED93
Tritanopia (blue-blind)
#F8E7DA
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ecf28e;
/* rgb */ color: rgb(236, 242, 142);
/* oklch */ color: oklch(93.5% 0.124 111.5);
Tailwind
colors: {
  custom: {
    50: '#f3f6b0',
    500: '#ecf28e',
    950: '#000000',
  },
}
SCSS
$custom: #ecf28e;
$custom-light: #f3f6b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf28e",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 142
  },
  "hsl": {
    "h": 63.6,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.93518,
    "c": 0.12353,
    "h": 111.5
  },
  "luminance": 0.8329
}

Semantic roles & 50–950 ramp

primary
#ECF28E
secondary
#5D56CF
accent
#0ADC16
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171711
muted
#858581

Preview Lab

Preview with #ECF28E

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

Preview Lab → · Contrast checker → · Palette generator →

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