#ECF37A#ECF37A

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

Color values

HEX#ECF37A
RGBrgb(236, 243, 122)
HSLhsl(63, 83%, 72%)
HSVhsv(63, 50%, 95%)
CMYKcmyk(2.9%, 0%, 49.8%, 4.7%)
CIE-LABlab(93.16, -18.66, 56.93)
CIE-LCHlch(93.16, 59.91, 108.15°)
OKLaboklab(93.46% -0.0539 0.1344)
OKLCHoklch(93.46% 0.145 111.9)
XYZxyz(70.1569, 83.3405, 30.7992)
Luminance0.8334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF37A #817AF3
analogous
#F3BE7A #ECF37A #B0F37A
triadic
#ECF37A #7AECF3 #F37AEC
tetradic
#ECF37A #7AF3BE #817AF3 #F37AB0
square
#ECF37A #7AF3BE #817AF3 #F37AB0
split-complementary
#ECF37A #7AB0F3 #BE7AF3
monochromatic
#D3DF14 #E4EE42 #ECF37A #F4F8B2 #FBFCE3

Accessibility & contrast

On white

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

On black

17.67
#ECF37A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF37A
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF37A#FFFFFF#000000##000000
##ECF37A1.001.1917.6717.67
#FFFFFF1.191.0021.0021.00
#00000017.6721.001.001.00
##00000017.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6F
Deuteranopia (green-blind)
#FFED80
Tritanopia (blue-blind)
#F9E7D7
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ecf37a;
/* rgb */ color: rgb(236, 243, 122);
/* oklch */ color: oklch(93.5% 0.145 111.9);
Tailwind
colors: {
  custom: {
    50: '#f4f6a3',
    500: '#ecf37a',
    950: '#000000',
  },
}
SCSS
$custom: #ecf37a;
$custom-light: #f4f6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf37a",
  "rgb": {
    "r": 236,
    "g": 243,
    "b": 122
  },
  "hsl": {
    "h": 63.471,
    "s": 83.448,
    "l": 71.569
  },
  "oklch": {
    "l": 0.93458,
    "c": 0.14479,
    "h": 111.9
  },
  "luminance": 0.83339
}

Semantic roles & 50–950 ramp

primary
#ECF37A
secondary
#4B43CE
accent
#06E012
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF37A

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

Preview Lab → · Contrast checker → · Palette generator →

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