#ECF57B#ECF57B

#ECF57B is a very light, vivid yellow. Relative luminance 0.846; OKLCH L 93.9% C 0.146 H 112.7°. Best body text is #000000 at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#ECF57B
RGBrgb(236, 245, 123)
HSLhsl(64, 86%, 72%)
HSVhsv(64, 50%, 96%)
CMYKcmyk(3.7%, 0%, 49.8%, 3.9%)
CIE-LABlab(93.70, -19.54, 57.10)
CIE-LCHlch(93.70, 60.35, 108.89°)
OKLaboklab(93.89% -0.0563 0.1349)
OKLCHoklch(93.89% 0.146 112.7)
XYZxyz(70.8209, 84.5690, 31.3277)
Luminance0.8457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF57B #847BF5
analogous
#F5C17B #ECF57B #AFF57B
triadic
#ECF57B #7BECF5 #F57BEC
tetradic
#ECF57B #7BF5C1 #847BF5 #F57BAF
square
#ECF57B #7BF5C1 #847BF5 #F57BAF
split-complementary
#ECF57B #7BAFF5 #C17BF5
monochromatic
#D5E411 #E4F142 #ECF57B #F4F9B4 #FBFDE3

Accessibility & contrast

On white

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

On black

17.91
#ECF57B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF57B
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF57B#FFFFFF#000000##000000
##ECF57B1.001.1717.9117.91
#FFFFFF1.171.0021.0021.00
#00000017.9121.001.001.00
##00000017.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB70
Deuteranopia (green-blind)
#FFEE81
Tritanopia (blue-blind)
#F9E9D9
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ecf57b;
/* rgb */ color: rgb(236, 245, 123);
/* oklch */ color: oklch(93.9% 0.146 112.7);
Tailwind
colors: {
  custom: {
    50: '#f4f8a4',
    500: '#ecf57b',
    950: '#000000',
  },
}
SCSS
$custom: #ecf57b;
$custom-light: #f4f8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf57b",
  "rgb": {
    "r": 236,
    "g": 245,
    "b": 123
  },
  "hsl": {
    "h": 64.426,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.93887,
    "c": 0.14613,
    "h": 112.7
  },
  "luminance": 0.84568
}

Semantic roles & 50–950 ramp

primary
#ECF57B
secondary
#4E44D0
accent
#03E214
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF57B

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

Preview Lab → · Contrast checker → · Palette generator →

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