#ECFB8E#ECFB8E

#ECFB8E is a very light, vivid yellow. Relative luminance 0.888; OKLCH L 95.4% C 0.134 H 115.4°. Best body text is #000000 at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#ECFB8E
RGBrgb(236, 251, 142)
HSLhsl(68, 93%, 77%)
HSVhsv(68, 43%, 98%)
CMYKcmyk(6%, 0%, 43.4%, 1.6%)
CIE-LABlab(95.49, -20.64, 50.40)
CIE-LCHlch(95.49, 54.46, 112.27°)
OKLaboklab(95.39% -0.0577 0.1215)
OKLCHoklch(95.39% 0.134 115.4)
XYZxyz(73.9725, 88.7810, 38.8255)
Luminance0.8878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB8E #9D8EFB
analogous
#FBD48E #ECFB8E #B6FB8E
triadic
#ECFB8E #8EECFB #FB8EEC
tetradic
#ECFB8E #8EFBD4 #9D8EFB #FB8EB6
square
#ECFB8E #8EFBD4 #9D8EFB #FB8EB6
split-complementary
#ECFB8E #8EB6FB #D48EFB
monochromatic
#D8F718 #E2F953 #ECFB8E #F6FDC9 #FAFEE1

Accessibility & contrast

On white

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

On black

18.76
#ECFB8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFB8E
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFB8E#FFFFFF#000000##000000
##ECFB8E1.001.1218.7618.76
#FFFFFF1.121.0021.0021.00
#00000018.7621.001.001.00
##00000018.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF185
Deuteranopia (green-blind)
#FFF393
Tritanopia (blue-blind)
#F7F0E1
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecfb8e;
/* rgb */ color: rgb(236, 251, 142);
/* oklch */ color: oklch(95.4% 0.134 115.4);
Tailwind
colors: {
  custom: {
    50: '#f4fcb1',
    500: '#ecfb8e',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb8e;
$custom-light: #f4fcb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb8e",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 142
  },
  "hsl": {
    "h": 68.257,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.9539,
    "c": 0.13449,
    "h": 115.4
  },
  "luminance": 0.8878
}

Semantic roles & 50–950 ramp

primary
#ECFB8E
secondary
#6553DB
accent
#00E620
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECFB8E

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

Preview Lab → · Contrast checker → · Palette generator →

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