#ECF28B#ECF28B

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

Color values

HEX#ECF28B
RGBrgb(236, 242, 139)
HSLhsl(63, 80%, 75%)
HSVhsv(63, 43%, 95%)
CMYKcmyk(2.5%, 0%, 42.6%, 5.1%)
CIE-LABlab(93.10, -16.59, 48.87)
CIE-LCHlch(93.10, 51.61, 108.75°)
OKLaboklab(93.48% -0.0465 0.1179)
OKLCHoklch(93.48% 0.127 111.5)
XYZxyz(71.0054, 83.2024, 36.7403)
Luminance0.8320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF28B #918BF2
analogous
#F2C58B #ECF28B #B9F28B
triadic
#ECF28B #8BECF2 #F28BEC
tetradic
#ECF28B #8BF2C5 #918BF2 #F28BB9
square
#ECF28B #8BF2C5 #918BF2 #F28BB9
split-complementary
#ECF28B #8BB9F2 #C58BF2
monochromatic
#DAE61D #E3EC54 #ECF28B #F5F8C2 #FAFCE3

Accessibility & contrast

On white

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

On black

17.64
#ECF28B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF28B
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF28B#FFFFFF#000000##000000
##ECF28B1.001.1917.6417.64
#FFFFFF1.191.0021.0021.00
#00000017.6421.001.001.00
##00000017.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA83
Deuteranopia (green-blind)
#FFED90
Tritanopia (blue-blind)
#F8E7D9
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ecf28b;
/* rgb */ color: rgb(236, 242, 139);
/* oklch */ color: oklch(93.5% 0.127 111.5);
Tailwind
colors: {
  custom: {
    50: '#f4f6ae',
    500: '#ecf28b',
    950: '#000000',
  },
}
SCSS
$custom: #ecf28b;
$custom-light: #f4f6ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf28b",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 139
  },
  "hsl": {
    "h": 63.495,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.93475,
    "c": 0.12669,
    "h": 111.5
  },
  "luminance": 0.83201
}

Semantic roles & 50–950 ramp

primary
#ECF28B
secondary
#5A53CE
accent
#09DC16
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECF28B

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

Preview Lab → · Contrast checker → · Palette generator →

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