#ECFB92#ECFB92

#ECFB92 is a very light, vivid yellow. Relative luminance 0.889; OKLCH L 95.4% C 0.130 H 115.6°. Best body text is #000000 at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#ECFB92
RGBrgb(236, 251, 146)
HSLhsl(69, 93%, 78%)
HSVhsv(69, 42%, 98%)
CMYKcmyk(6%, 0%, 41.8%, 1.6%)
CIE-LABlab(95.54, -20.22, 48.55)
CIE-LCHlch(95.54, 52.60, 112.61°)
OKLaboklab(95.45% -0.0563 0.1176)
OKLCHoklch(95.45% 0.13 115.6)
XYZxyz(74.2782, 88.9033, 40.4356)
Luminance0.8890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB92 #A192FB
analogous
#FBD592 #ECFB92 #B8FB92
triadic
#ECFB92 #92ECFB #FB92EC
tetradic
#ECFB92 #92FBD5 #A192FB #FB92B8
square
#ECFB92 #92FBD5 #A192FB #FB92B8
split-complementary
#ECFB92 #92B8FB #D592FB
monochromatic
#D7F71C #E2F957 #ECFB92 #F6FDCD #FAFEE1

Accessibility & contrast

On white

1.12
#ECFB92 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.78
#ECFB92 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFB92
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFB92#FFFFFF#000000##000000
##ECFB921.001.1218.7818.78
#FFFFFF1.121.0021.0021.00
#00000018.7821.001.001.00
##00000018.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF18A
Deuteranopia (green-blind)
#FFF397
Tritanopia (blue-blind)
#F7F0E2
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecfb92;
/* rgb */ color: rgb(236, 251, 146);
/* oklch */ color: oklch(95.4% 0.130 115.6);
Tailwind
colors: {
  custom: {
    50: '#f3fcb3',
    500: '#ecfb92',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb92;
$custom-light: #f3fcb3;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb92",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 146
  },
  "hsl": {
    "h": 68.571,
    "s": 92.92,
    "l": 77.843
  },
  "oklch": {
    "l": 0.95448,
    "c": 0.13032,
    "h": 115.6
  },
  "luminance": 0.88903
}

Semantic roles & 50–950 ramp

primary
#ECFB92
secondary
#6956DB
accent
#00E621
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECFB92

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

Preview Lab → · Contrast checker → · Palette generator →

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