#ECFB7C#ECFB7C

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

Color values

HEX#ECFB7C
RGBrgb(236, 251, 124)
HSLhsl(67, 94%, 74%)
HSVhsv(67, 51%, 98%)
CMYKcmyk(6%, 0%, 50.6%, 1.6%)
CIE-LABlab(95.28, -22.33, 58.51)
CIE-LCHlch(95.28, 62.63, 110.89°)
OKLaboklab(95.16% -0.0641 0.138)
OKLCHoklch(95.16% 0.152 114.9)
XYZxyz(72.7285, 88.2835, 32.2740)
Luminance0.8828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB7C #8B7CFB
analogous
#FBCA7C #ECFB7C #ACFB7C
triadic
#ECFB7C #7CECFB #FB7CEC
tetradic
#ECFB7C #7CFBCA #8B7CFB #FB7CAC
square
#ECFB7C #7CFBCA #8B7CFB #FB7CAC
split-complementary
#ECFB7C #7CACFB #CA7CFB
monochromatic
#D9F507 #E3F941 #ECFB7C #F5FDB7 #FBFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECFB7C#FFFFFF#000000##000000
##ECFB7C1.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)
#FFF070
Deuteranopia (green-blind)
#FFF383
Tritanopia (blue-blind)
#F9EFDE
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecfb7c;
/* rgb */ color: rgb(236, 251, 124);
/* oklch */ color: oklch(95.2% 0.152 114.9);
Tailwind
colors: {
  custom: {
    50: '#f4fca5',
    500: '#ecfb7c',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb7c;
$custom-light: #f4fca5;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb7c",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 124
  },
  "hsl": {
    "h": 67.087,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.95156,
    "c": 0.15218,
    "h": 114.9
  },
  "luminance": 0.88282
}

Semantic roles & 50–950 ramp

primary
#ECFB7C
secondary
#5543D8
accent
#00E61B
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECFB7C

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

Preview Lab → · Contrast checker → · Palette generator →

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