#ECEE4F#ECEE4F

#ECEE4F is a very light, vivid yellow. Relative luminance 0.795; OKLCH L 92.0% C 0.174 H 110.1°. Best body text is #000000 at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#ECEE4F
RGBrgb(236, 238, 79)
HSLhsl(61, 82%, 62%)
HSVhsv(61, 67%, 93%)
CMYKcmyk(0.8%, 0%, 66.8%, 6.7%)
CIE-LABlab(91.48, -19.23, 73.08)
CIE-LCHlch(91.48, 75.56, 104.74°)
OKLaboklab(92% -0.0598 0.1635)
OKLCHoklch(92% 0.174 110.1)
XYZxyz(66.5801, 79.5483, 19.2427)
Luminance0.7955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEE4F #514FEE
analogous
#EEA14F #ECEE4F #9CEE4F
triadic
#ECEE4F #4FECEE #EE4FEC
tetradic
#ECEE4F #4FEEA1 #514FEE #EE4F9C
square
#ECEE4F #4FEEA1 #514FEE #EE4F9C
split-complementary
#ECEE4F #4F9CEE #A14FEE
monochromatic
#AFB111 #E6E917 #ECEE4F #F2F387 #F8F9BF

Accessibility & contrast

On white

1.24
#ECEE4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.91
#ECEE4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEE4F
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEE4F#FFFFFF#000000##000000
##ECEE4F1.001.2416.9116.91
#FFFFFF1.241.0021.0021.00
#00000016.9121.001.001.00
##00000016.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE437
Deuteranopia (green-blind)
#FFE95A
Tritanopia (blue-blind)
#FCDFCE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ecee4f;
/* rgb */ color: rgb(236, 238, 79);
/* oklch */ color: oklch(92.0% 0.174 110.1);
Tailwind
colors: {
  custom: {
    50: '#f6f389',
    500: '#ecee4f',
    950: '#000000',
  },
}
SCSS
$custom: #ecee4f;
$custom-light: #f6f389;
$custom-dark: #000000;
JSON
{
  "hex": "#ecee4f",
  "rgb": {
    "r": 236,
    "g": 238,
    "b": 79
  },
  "hsl": {
    "h": 60.755,
    "s": 82.383,
    "l": 62.157
  },
  "oklch": {
    "l": 0.91995,
    "c": 0.1741,
    "h": 110.1
  },
  "luminance": 0.79546
}

Semantic roles & 50–950 ramp

primary
#ECEE4F
secondary
#3130B2
accent
#07DF09
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170C
muted
#86857F

Preview Lab

Preview with #ECEE4F

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

Preview Lab → · Contrast checker → · Palette generator →

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