#ECFB7D#ECFB7D

#ECFB7D is a very light, vivid yellow. Relative luminance 0.883; OKLCH L 95.2% C 0.151 H 114.9°. Best body text is #000000 at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#ECFB7D
RGBrgb(236, 251, 125)
HSLhsl(67, 94%, 74%)
HSVhsv(67, 50%, 98%)
CMYKcmyk(6%, 0%, 50.2%, 1.6%)
CIE-LABlab(95.29, -22.24, 58.07)
CIE-LCHlch(95.29, 62.19, 110.96°)
OKLaboklab(95.17% -0.0638 0.1371)
OKLCHoklch(95.17% 0.151 114.9)
XYZxyz(72.7921, 88.3089, 32.6087)
Luminance0.8831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB7D #8C7DFB
analogous
#FBCB7D #ECFB7D #ADFB7D
triadic
#ECFB7D #7DECFB #FB7DEC
tetradic
#ECFB7D #7DFBCB #8C7DFB #FB7DAD
square
#ECFB7D #7DFBCB #8C7DFB #FB7DAD
split-complementary
#ECFB7D #7DADFB #CB7DFB
monochromatic
#DAF608 #E3F942 #ECFB7D #F5FDB8 #FBFEE1

Accessibility & contrast

On white

1.13
#ECFB7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.66
#ECFB7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFB7D
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFB7D#FFFFFF#000000##000000
##ECFB7D1.001.1318.6618.66
#FFFFFF1.131.0021.0021.00
#00000018.6621.001.001.00
##00000018.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF071
Deuteranopia (green-blind)
#FFF384
Tritanopia (blue-blind)
#F8EFDE
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecfb7d;
/* rgb */ color: rgb(236, 251, 125);
/* oklch */ color: oklch(95.2% 0.151 114.9);
Tailwind
colors: {
  custom: {
    50: '#f4fca6',
    500: '#ecfb7d',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb7d;
$custom-light: #f4fca6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb7d",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 125
  },
  "hsl": {
    "h": 67.143,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.95168,
    "c": 0.15124,
    "h": 114.9
  },
  "luminance": 0.88308
}

Semantic roles & 50–950 ramp

primary
#ECFB7D
secondary
#5544D8
accent
#00E61B
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#171710
muted
#858580

Preview Lab

Preview with #ECFB7D

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

Preview Lab → · Contrast checker → · Palette generator →

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