#ECEF5A#ECEF5A

#ECEF5A 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#ECEF5A
RGBrgb(236, 239, 90)
HSLhsl(61, 82%, 65%)
HSVhsv(61, 62%, 94%)
CMYKcmyk(1.3%, 0%, 62.3%, 6.3%)
CIE-LABlab(91.82, -19.08, 69.21)
CIE-LCHlch(91.82, 71.79, 105.42°)
OKLaboklab(92.29% -0.0583 0.157)
OKLCHoklch(92.29% 0.167 110.4)
XYZxyz(67.3061, 80.3058, 21.6259)
Luminance0.8030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEF5A #5D5AEF
analogous
#EFA85A #ECEF5A #A2EF5A
triadic
#ECEF5A #5AECEF #EF5AEC
tetradic
#ECEF5A #5AEFA8 #5D5AEF #EF5AA2
square
#ECEF5A #5AEFA8 #5D5AEF #EF5AA2
split-complementary
#ECEF5A #5AA2EF #A85AEF
monochromatic
#B9BC12 #E6EA22 #ECEF5A #F2F492 #F9FACA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECEF5A#FFFFFF#000000##000000
##ECEF5A1.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)
#FFE547
Deuteranopia (green-blind)
#FFEA64
Tritanopia (blue-blind)
#FBE1D0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ecef5a;
/* rgb */ color: rgb(236, 239, 90);
/* oklch */ color: oklch(92.3% 0.167 110.4);
Tailwind
colors: {
  custom: {
    50: '#f5f48f',
    500: '#ecef5a',
    950: '#000000',
  },
}
SCSS
$custom: #ecef5a;
$custom-light: #f5f48f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecef5a",
  "rgb": {
    "r": 236,
    "g": 239,
    "b": 90
  },
  "hsl": {
    "h": 61.208,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.92292,
    "c": 0.16749,
    "h": 110.4
  },
  "luminance": 0.80304
}

Semantic roles & 50–950 ramp

primary
#ECEF5A
secondary
#3532BB
accent
#07DF0B
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #ECEF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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