#ECEF5F#ECEF5F

#ECEF5F is a very light, vivid yellow. Relative luminance 0.804; OKLCH L 92.3% C 0.164 H 110.3°. Best body text is #000000 at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#ECEF5F
RGBrgb(236, 239, 95)
HSLhsl(61, 82%, 65%)
HSVhsv(61, 60%, 94%)
CMYKcmyk(1.3%, 0%, 60.3%, 6.3%)
CIE-LABlab(91.86, -18.77, 67.23)
CIE-LCHlch(91.86, 69.80, 105.60°)
OKLaboklab(92.34% -0.0569 0.1535)
OKLCHoklch(92.34% 0.164 110.3)
XYZxyz(67.5261, 80.3938, 22.7847)
Luminance0.8039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEF5F #625FEF
analogous
#EFAA5F #ECEF5F #A4EF5F
triadic
#ECEF5F #5FECEF #EF5FEC
tetradic
#ECEF5F #5FEFAA #625FEF #EF5FA4
square
#ECEF5F #5FEFAA #625FEF #EF5FA4
split-complementary
#ECEF5F #5FA4EF #AA5FEF
monochromatic
#BDC013 #E5E927 #ECEF5F #F3F597 #F9FACE

Accessibility & contrast

On white

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

On black

17.08
#ECEF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEF5F
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEF5F#FFFFFF#000000##000000
##ECEF5F1.001.2317.0817.08
#FFFFFF1.231.0021.0021.00
#00000017.0821.001.001.00
##00000017.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE54E
Deuteranopia (green-blind)
#FFEA68
Tritanopia (blue-blind)
#FBE1D1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ecef5f;
/* rgb */ color: rgb(236, 239, 95);
/* oklch */ color: oklch(92.3% 0.164 110.3);
Tailwind
colors: {
  custom: {
    50: '#f5f492',
    500: '#ecef5f',
    950: '#000000',
  },
}
SCSS
$custom: #ecef5f;
$custom-light: #f5f492;
$custom-dark: #000000;
JSON
{
  "hex": "#ecef5f",
  "rgb": {
    "r": 236,
    "g": 239,
    "b": 95
  },
  "hsl": {
    "h": 61.25,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.92336,
    "c": 0.16372,
    "h": 110.3
  },
  "luminance": 0.80392
}

Semantic roles & 50–950 ramp

primary
#ECEF5F
secondary
#3734BE
accent
#07DE0C
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #ECEF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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