#ECFB8D#ECFB8D

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

Color values

HEX#ECFB8D
RGBrgb(236, 251, 141)
HSLhsl(68, 93%, 77%)
HSVhsv(68, 44%, 98%)
CMYKcmyk(6%, 0%, 43.8%, 1.6%)
CIE-LABlab(95.48, -20.74, 50.86)
CIE-LCHlch(95.48, 54.92, 112.18°)
OKLaboklab(95.38% -0.0581 0.1224)
OKLCHoklch(95.38% 0.136 115.4)
XYZxyz(73.8977, 88.7512, 38.4319)
Luminance0.8875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB8D #9C8DFB
analogous
#FBD38D #ECFB8D #B5FB8D
triadic
#ECFB8D #8DECFB #FB8DEC
tetradic
#ECFB8D #8DFBD3 #9C8DFB #FB8DB5
square
#ECFB8D #8DFBD3 #9C8DFB #FB8DB5
split-complementary
#ECFB8D #8DB5FB #D38DFB
monochromatic
#D8F717 #E2F952 #ECFB8D #F6FDC8 #FAFEE1

Accessibility & contrast

On white

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

On black

18.75
#ECFB8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFB8D
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFB8D#FFFFFF#000000##000000
##ECFB8D1.001.1218.7518.75
#FFFFFF1.121.0021.0021.00
#00000018.7521.001.001.00
##00000018.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecfb8d;
/* rgb */ color: rgb(236, 251, 141);
/* oklch */ color: oklch(95.4% 0.136 115.4);
Tailwind
colors: {
  custom: {
    50: '#f4fcb0',
    500: '#ecfb8d',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb8d;
$custom-light: #f4fcb0;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb8d",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 141
  },
  "hsl": {
    "h": 68.182,
    "s": 93.22,
    "l": 76.863
  },
  "oklch": {
    "l": 0.95376,
    "c": 0.13552,
    "h": 115.4
  },
  "luminance": 0.8875
}

Semantic roles & 50–950 ramp

primary
#ECFB8D
secondary
#6452DB
accent
#00E61F
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#171711
muted
#858581

Preview Lab

Preview with #ECFB8D

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

Preview Lab → · Contrast checker → · Palette generator →

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