#ECF46F#ECF46F

#ECF46F is a very light, vivid yellow. Relative luminance 0.837; OKLCH L 93.5% C 0.156 H 112.2°. Best body text is #000000 at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#ECF46F
RGBrgb(236, 244, 111)
HSLhsl(64, 86%, 70%)
HSVhsv(64, 55%, 96%)
CMYKcmyk(3.3%, 0%, 54.5%, 4.3%)
CIE-LABlab(93.31, -20.04, 62.03)
CIE-LCHlch(93.31, 65.19, 107.91°)
OKLaboklab(93.54% -0.0589 0.1444)
OKLCHoklch(93.54% 0.156 112.2)
XYZxyz(69.8136, 83.6833, 27.5107)
Luminance0.8368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF46F #776FF4
analogous
#F4BA6F #ECF46F #AAF46F
triadic
#ECF46F #6FECF4 #F46FEC
tetradic
#ECF46F #6FF4BA #776FF4 #F46FAA
square
#ECF46F #6FF4BA #776FF4 #F46FAA
split-complementary
#ECF46F #6FAAF4 #BA6FF4
monochromatic
#CCD811 #E4F036 #ECF46F #F4F8A8 #FBFDE1

Accessibility & contrast

On white

1.18
#ECF46F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.74
#ECF46F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF46F
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF46F#FFFFFF#000000##000000
##ECF46F1.001.1817.7417.74
#FFFFFF1.181.0021.0021.00
#00000017.7421.001.001.00
##00000017.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA61
Deuteranopia (green-blind)
#FFED77
Tritanopia (blue-blind)
#FAE7D7
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ecf46f;
/* rgb */ color: rgb(236, 244, 111);
/* oklch */ color: oklch(93.5% 0.156 112.2);
Tailwind
colors: {
  custom: {
    50: '#f5f79c',
    500: '#ecf46f',
    950: '#000000',
  },
}
SCSS
$custom: #ecf46f;
$custom-light: #f5f79c;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf46f",
  "rgb": {
    "r": 236,
    "g": 244,
    "b": 111
  },
  "hsl": {
    "h": 63.609,
    "s": 85.806,
    "l": 69.608
  },
  "oklch": {
    "l": 0.93541,
    "c": 0.15591,
    "h": 112.2
  },
  "luminance": 0.83682
}

Semantic roles & 50–950 ramp

primary
#ECF46F
secondary
#4239CE
accent
#03E211
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF46F

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

Preview Lab → · Contrast checker → · Palette generator →

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