#ECF892#ECF892

#ECF892 is a very light, vivid yellow. Relative luminance 0.870; OKLCH L 94.8% C 0.127 H 114.3°. Best body text is #000000 at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#ECF892
RGBrgb(236, 248, 146)
HSLhsl(67, 88%, 77%)
HSVhsv(67, 41%, 97%)
CMYKcmyk(4.8%, 0%, 41.1%, 2.7%)
CIE-LABlab(94.76, -18.78, 47.57)
CIE-LCHlch(94.76, 51.14, 111.54°)
OKLaboklab(94.82% -0.0522 0.1153)
OKLCHoklch(94.82% 0.127 114.3)
XYZxyz(73.3485, 87.0439, 40.1257)
Luminance0.8704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF892 #9E92F8
analogous
#F8D192 #ECF892 #B9F892
triadic
#ECF892 #92ECF8 #F892EC
tetradic
#ECF892 #92F8D1 #9E92F8 #F892B9
square
#ECF892 #92F8D1 #9E92F8 #F892B9
split-complementary
#ECF892 #92B9F8 #D192F8
monochromatic
#D8F11F #E2F458 #ECF892 #F6FCCC #FAFDE2

Accessibility & contrast

On white

1.14
#ECF892 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.41
#ECF892 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF892
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF892#FFFFFF#000000##000000
##ECF8921.001.1418.4118.41
#FFFFFF1.141.0021.0021.00
#00000018.4121.001.001.00
##00000018.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF8A
Deuteranopia (green-blind)
#FFF197
Tritanopia (blue-blind)
#F7EDDF
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ecf892;
/* rgb */ color: rgb(236, 248, 146);
/* oklch */ color: oklch(94.8% 0.127 114.3);
Tailwind
colors: {
  custom: {
    50: '#f3fab3',
    500: '#ecf892',
    950: '#000000',
  },
}
SCSS
$custom: #ecf892;
$custom-light: #f3fab3;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf892",
  "rgb": {
    "r": 236,
    "g": 248,
    "b": 146
  },
  "hsl": {
    "h": 67.059,
    "s": 87.931,
    "l": 77.255
  },
  "oklch": {
    "l": 0.94823,
    "c": 0.12659,
    "h": 114.3
  },
  "luminance": 0.87043
}

Semantic roles & 50–950 ramp

primary
#ECF892
secondary
#6657D7
accent
#01E51C
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF892

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

Preview Lab → · Contrast checker → · Palette generator →

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