#ECEE5F#ECEE5F

#ECEE5F is a very light, vivid yellow. Relative luminance 0.798; OKLCH L 92.1% C 0.163 H 110.0°. Best body text is #000000 at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#ECEE5F
RGBrgb(236, 238, 95)
HSLhsl(61, 81%, 65%)
HSVhsv(61, 60%, 93%)
CMYKcmyk(0.8%, 0%, 60.1%, 6.7%)
CIE-LABlab(91.60, -18.28, 66.95)
CIE-LCHlch(91.60, 69.40, 105.28°)
OKLaboklab(92.13% -0.0555 0.1529)
OKLCHoklch(92.13% 0.163 110)
XYZxyz(67.2341, 79.8099, 22.6874)
Luminance0.7981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEE5F #615FEE
analogous
#EEA85F #ECEE5F #A5EE5F
triadic
#ECEE5F #5FECEE #EE5FEC
tetradic
#ECEE5F #5FEEA8 #615FEE #EE5FA5
square
#ECEE5F #5FEEA8 #615FEE #EE5FA5
split-complementary
#ECEE5F #5FA5EE #A85FEE
monochromatic
#BCBE14 #E5E828 #ECEE5F #F3F496 #F9FACE

Accessibility & contrast

On white

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

On black

16.96
#ECEE5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEE5F
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEE5F#FFFFFF#000000##000000
##ECEE5F1.001.2416.9616.96
#FFFFFF1.241.0021.0021.00
#00000016.9621.001.001.00
##00000016.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE44E
Deuteranopia (green-blind)
#FFE968
Tritanopia (blue-blind)
#FBE0D0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ecee5f;
/* rgb */ color: rgb(236, 238, 95);
/* oklch */ color: oklch(92.1% 0.163 110.0);
Tailwind
colors: {
  custom: {
    50: '#f5f392',
    500: '#ecee5f',
    950: '#000000',
  },
}
SCSS
$custom: #ecee5f;
$custom-light: #f5f392;
$custom-dark: #000000;
JSON
{
  "hex": "#ecee5f",
  "rgb": {
    "r": 236,
    "g": 238,
    "b": 95
  },
  "hsl": {
    "h": 60.839,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.92127,
    "c": 0.16269,
    "h": 110
  },
  "luminance": 0.79808
}

Semantic roles & 50–950 ramp

primary
#ECEE5F
secondary
#3634BD
accent
#08DD0B
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #ECEE5F

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

Preview Lab → · Contrast checker → · Palette generator →

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