#ECF55D#ECF55D

#ECF55D is a very light, vivid yellow. Relative luminance 0.839; OKLCH L 93.6% C 0.172 H 112.5°. Best body text is #000000 at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#ECF55D
RGBrgb(236, 245, 93)
HSLhsl(64, 88%, 66%)
HSVhsv(64, 62%, 96%)
CMYKcmyk(3.7%, 0%, 62%, 3.9%)
CIE-LABlab(93.42, -21.78, 69.70)
CIE-LCHlch(93.42, 73.03, 107.35°)
OKLaboklab(93.58% -0.0656 0.1585)
OKLCHoklch(93.58% 0.172 112.5)
XYZxyz(69.2221, 83.9295, 22.9073)
Luminance0.8393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF55D #665DF5
analogous
#F5B25D #ECF55D #A0F55D
triadic
#ECF55D #5DECF5 #F55DEC
tetradic
#ECF55D #5DF5B2 #665DF5 #F55DA0
square
#ECF55D #5DF5B2 #665DF5 #F55DA0
split-complementary
#ECF55D #5DA0F5 #B25DF5
monochromatic
#C0CB0D #E5F123 #ECF55D #F3F997 #FAFCD0

Accessibility & contrast

On white

1.18
#ECF55D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.79
#ECF55D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF55D
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF55D#FFFFFF#000000##000000
##ECF55D1.001.1817.7917.79
#FFFFFF1.181.0021.0021.00
#00000017.7921.001.001.00
##00000017.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA4A
Deuteranopia (green-blind)
#FFEE67
Tritanopia (blue-blind)
#FBE7D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ecf55d;
/* rgb */ color: rgb(236, 245, 93);
/* oklch */ color: oklch(93.6% 0.172 112.5);
Tailwind
colors: {
  custom: {
    50: '#f5f891',
    500: '#ecf55d',
    950: '#000000',
  },
}
SCSS
$custom: #ecf55d;
$custom-light: #f5f891;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf55d",
  "rgb": {
    "r": 236,
    "g": 245,
    "b": 93
  },
  "hsl": {
    "h": 63.553,
    "s": 88.372,
    "l": 66.275
  },
  "oklch": {
    "l": 0.93576,
    "c": 0.17152,
    "h": 112.5
  },
  "luminance": 0.83928
}

Semantic roles & 50–950 ramp

primary
#ECF55D
secondary
#382FC7
accent
#01E50E
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #ECF55D

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

Preview Lab → · Contrast checker → · Palette generator →

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