#ECF457#ECF457

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

Color values

HEX#ECF457
RGBrgb(236, 244, 87)
HSLhsl(63, 88%, 65%)
HSVhsv(63, 64%, 96%)
CMYKcmyk(3.3%, 0%, 64.3%, 4.3%)
CIE-LABlab(93.11, -21.67, 71.73)
CIE-LCHlch(93.11, 74.93, 106.81°)
OKLaboklab(93.32% -0.0659 0.1619)
OKLCHoklch(93.32% 0.175 112.1)
XYZxyz(68.6650, 83.2239, 21.4617)
Luminance0.8322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF457 #5F57F4
analogous
#F4AD57 #ECF457 #9EF457
triadic
#ECF457 #57ECF4 #F457EC
tetradic
#ECF457 #57F4AD #5F57F4 #F4579E
square
#ECF457 #57F4AD #5F57F4 #F4579E
split-complementary
#ECF457 #579EF4 #AD57F4
monochromatic
#BAC40D #E6F01E #ECF457 #F2F890 #F9FCCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECF457#FFFFFF#000000##000000
##ECF4571.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)
#FFE941
Deuteranopia (green-blind)
#FFED62
Tritanopia (blue-blind)
#FBE6D4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ecf457;
/* rgb */ color: rgb(236, 244, 87);
/* oklch */ color: oklch(93.3% 0.175 112.1);
Tailwind
colors: {
  custom: {
    50: '#f5f78e',
    500: '#ecf457',
    950: '#000000',
  },
}
SCSS
$custom: #ecf457;
$custom-light: #f5f78e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf457",
  "rgb": {
    "r": 236,
    "g": 244,
    "b": 87
  },
  "hsl": {
    "h": 63.057,
    "s": 87.709,
    "l": 64.902
  },
  "oklch": {
    "l": 0.93316,
    "c": 0.17479,
    "h": 112.1
  },
  "luminance": 0.83222
}

Semantic roles & 50–950 ramp

primary
#ECF457
secondary
#362EC1
accent
#01E40D
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #ECF457

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

Preview Lab → · Contrast checker → · Palette generator →

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