#ECF992#ECF992

#ECF992 is a very light, vivid yellow. Relative luminance 0.877; OKLCH L 95.0% C 0.128 H 114.8°. Best body text is #000000 at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#ECF992
RGBrgb(236, 249, 146)
HSLhsl(68, 90%, 77%)
HSVhsv(68, 41%, 98%)
CMYKcmyk(5.2%, 0%, 41.4%, 2.4%)
CIE-LABlab(95.02, -19.26, 47.90)
CIE-LCHlch(95.02, 51.63, 111.91°)
OKLaboklab(95.03% -0.0535 0.1161)
OKLCHoklch(95.03% 0.128 114.8)
XYZxyz(73.6567, 87.6604, 40.2285)
Luminance0.8766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF992 #9F92F9
analogous
#F9D392 #ECF992 #B8F992
triadic
#ECF992 #92ECF9 #F992EC
tetradic
#ECF992 #92F9D3 #9F92F9 #F992B8
square
#ECF992 #92F9D3 #9F92F9 #F992B8
split-complementary
#ECF992 #92B8F9 #D392F9
monochromatic
#D8F31E #E2F658 #ECF992 #F6FCCC #FAFDE2

Accessibility & contrast

On white

1.13
#ECF992 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.53
#ECF992 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF992
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF992#FFFFFF#000000##000000
##ECF9921.001.1318.5318.53
#FFFFFF1.131.0021.0021.00
#00000018.5321.001.001.00
##00000018.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF08A
Deuteranopia (green-blind)
#FFF297
Tritanopia (blue-blind)
#F7EEE0
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecf992;
/* rgb */ color: rgb(236, 249, 146);
/* oklch */ color: oklch(95.0% 0.128 114.8);
Tailwind
colors: {
  custom: {
    50: '#f3fbb3',
    500: '#ecf992',
    950: '#000000',
  },
}
SCSS
$custom: #ecf992;
$custom-light: #f3fbb3;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf992",
  "rgb": {
    "r": 236,
    "g": 249,
    "b": 146
  },
  "hsl": {
    "h": 67.573,
    "s": 89.565,
    "l": 77.451
  },
  "oklch": {
    "l": 0.95031,
    "c": 0.12783,
    "h": 114.8
  },
  "luminance": 0.8766
}

Semantic roles & 50–950 ramp

primary
#ECF992
secondary
#6757D8
accent
#00E61D
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF992

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

Preview Lab → · Contrast checker → · Palette generator →

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