#ECF392#ECF392

#ECF392 is a very light, vivid yellow. Relative luminance 0.840; OKLCH L 93.8% C 0.120 H 112.1°. Best body text is #000000 at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#ECF392
RGBrgb(236, 243, 146)
HSLhsl(64, 80%, 76%)
HSVhsv(64, 40%, 95%)
CMYKcmyk(2.9%, 0%, 39.9%, 4.7%)
CIE-LABlab(93.46, -16.35, 45.93)
CIE-LCHlch(93.46, 48.75, 109.60°)
OKLaboklab(93.79% -0.0452 0.1116)
OKLCHoklch(93.79% 0.12 112.1)
XYZxyz(71.8318, 84.0105, 39.6202)
Luminance0.8401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF392 #9992F3
analogous
#F3CA92 #ECF392 #BCF392
triadic
#ECF392 #92ECF3 #F392EC
tetradic
#ECF392 #92F3CA #9992F3 #F392BC
square
#ECF392 #92F3CA #9992F3 #F392BC
split-complementary
#ECF392 #92BCF3 #CA92F3
monochromatic
#D9E724 #E2ED5B #ECF392 #F6F9C9 #FAFCE3

Accessibility & contrast

On white

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

On black

17.80
#ECF392 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF392
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF392#FFFFFF#000000##000000
##ECF3921.001.1817.8017.80
#FFFFFF1.181.0021.0021.00
#00000017.8021.001.001.00
##00000017.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB8A
Deuteranopia (green-blind)
#FFEE96
Tritanopia (blue-blind)
#F7E9DB
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ecf392;
/* rgb */ color: rgb(236, 243, 146);
/* oklch */ color: oklch(93.8% 0.120 112.1);
Tailwind
colors: {
  custom: {
    50: '#f3f7b3',
    500: '#ecf392',
    950: '#000000',
  },
}
SCSS
$custom: #ecf392;
$custom-light: #f3f7b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf392",
  "rgb": {
    "r": 236,
    "g": 243,
    "b": 146
  },
  "hsl": {
    "h": 64.33,
    "s": 80.165,
    "l": 76.275
  },
  "oklch": {
    "l": 0.93785,
    "c": 0.12045,
    "h": 112.1
  },
  "luminance": 0.84009
}

Semantic roles & 50–950 ramp

primary
#ECF392
secondary
#6259D0
accent
#09DC18
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF392

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

Preview Lab → · Contrast checker → · Palette generator →

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