#ECEF5B#ECEF5B

#ECEF5B is a very light, vivid yellow. Relative luminance 0.803; OKLCH L 92.3% C 0.167 H 110.4°. Best body text is #000000 at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#ECEF5B
RGBrgb(236, 239, 91)
HSLhsl(61, 82%, 65%)
HSVhsv(61, 62%, 94%)
CMYKcmyk(1.3%, 0%, 61.9%, 6.3%)
CIE-LABlab(91.83, -19.02, 68.82)
CIE-LCHlch(91.83, 71.40, 105.45°)
OKLaboklab(92.3% -0.058 0.1563)
OKLCHoklch(92.3% 0.167 110.4)
XYZxyz(67.3489, 80.3229, 21.8516)
Luminance0.8032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEF5B #5E5BEF
analogous
#EFA85B #ECEF5B #A2EF5B
triadic
#ECEF5B #5BECEF #EF5BEC
tetradic
#ECEF5B #5BEFA8 #5E5BEF #EF5BA2
square
#ECEF5B #5BEFA8 #5E5BEF #EF5BA2
split-complementary
#ECEF5B #5BA2EF #A85BEF
monochromatic
#BABD12 #E6EA23 #ECEF5B #F2F493 #F9FACB

Accessibility & contrast

On white

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

On black

17.06
#ECEF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEF5B
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEF5B#FFFFFF#000000##000000
##ECEF5B1.001.2317.0617.06
#FFFFFF1.231.0021.0021.00
#00000017.0621.001.001.00
##00000017.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE548
Deuteranopia (green-blind)
#FFEA64
Tritanopia (blue-blind)
#FBE1D0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ecef5b;
/* rgb */ color: rgb(236, 239, 91);
/* oklch */ color: oklch(92.3% 0.167 110.4);
Tailwind
colors: {
  custom: {
    50: '#f5f490',
    500: '#ecef5b',
    950: '#000000',
  },
}
SCSS
$custom: #ecef5b;
$custom-light: #f5f490;
$custom-dark: #000000;
JSON
{
  "hex": "#ecef5b",
  "rgb": {
    "r": 236,
    "g": 239,
    "b": 91
  },
  "hsl": {
    "h": 61.216,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.923,
    "c": 0.16676,
    "h": 110.4
  },
  "luminance": 0.80321
}

Semantic roles & 50–950 ramp

primary
#ECEF5B
secondary
#3533BC
accent
#07DF0B
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #ECEF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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