#ECEF54#ECEF54

#ECEF54 is a very light, vivid yellow. Relative luminance 0.802; OKLCH L 92.2% C 0.172 H 110.4°. Best body text is #000000 at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#ECEF54
RGBrgb(236, 239, 84)
HSLhsl(61, 83%, 63%)
HSVhsv(61, 65%, 94%)
CMYKcmyk(1.3%, 0%, 64.9%, 6.3%)
CIE-LABlab(91.78, -19.44, 71.50)
CIE-LCHlch(91.78, 74.10, 105.21°)
OKLaboklab(92.24% -0.0599 0.161)
OKLCHoklch(92.24% 0.172 110.4)
XYZxyz(67.0609, 80.2077, 20.3348)
Luminance0.8021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEF54 #5754EF
analogous
#EFA454 #ECEF54 #9EEF54
triadic
#ECEF54 #54ECEF #EF54EC
tetradic
#ECEF54 #54EFA4 #5754EF #EF549E
square
#ECEF54 #54EFA4 #5754EF #EF549E
split-complementary
#ECEF54 #549EEF #A454EF
monochromatic
#B4B711 #E6EA1C #ECEF54 #F2F48C #F8F9C4

Accessibility & contrast

On white

1.23
#ECEF54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.04
#ECEF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEF54
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEF54#FFFFFF#000000##000000
##ECEF541.001.2317.0417.04
#FFFFFF1.231.0021.0021.00
#00000017.0421.001.001.00
##00000017.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE53E
Deuteranopia (green-blind)
#FFEA5E
Tritanopia (blue-blind)
#FCE1D0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ecef54;
/* rgb */ color: rgb(236, 239, 84);
/* oklch */ color: oklch(92.2% 0.172 110.4);
Tailwind
colors: {
  custom: {
    50: '#f6f48c',
    500: '#ecef54',
    950: '#000000',
  },
}
SCSS
$custom: #ecef54;
$custom-light: #f6f48c;
$custom-dark: #000000;
JSON
{
  "hex": "#ecef54",
  "rgb": {
    "r": 236,
    "g": 239,
    "b": 84
  },
  "hsl": {
    "h": 61.161,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.92243,
    "c": 0.17176,
    "h": 110.4
  },
  "luminance": 0.80206
}

Semantic roles & 50–950 ramp

primary
#ECEF54
secondary
#3331B7
accent
#06DF0A
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #ECEF54

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

Preview Lab → · Contrast checker → · Palette generator →

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