#ECFB8F#ECFB8F

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

Color values

HEX#ECFB8F
RGBrgb(236, 251, 143)
HSLhsl(68, 93%, 77%)
HSVhsv(68, 43%, 98%)
CMYKcmyk(6%, 0%, 43%, 1.6%)
CIE-LABlab(95.50, -20.54, 49.94)
CIE-LCHlch(95.50, 54.00, 112.35°)
OKLaboklab(95.4% -0.0574 0.1205)
OKLCHoklch(95.4% 0.133 115.5)
XYZxyz(74.0479, 88.8112, 39.2227)
Luminance0.8881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB8F #9E8FFB
analogous
#FBD48F #ECFB8F #B6FB8F
triadic
#ECFB8F #8FECFB #FB8FEC
tetradic
#ECFB8F #8FFBD4 #9E8FFB #FB8FB6
square
#ECFB8F #8FFBD4 #9E8FFB #FB8FB6
split-complementary
#ECFB8F #8FB6FB #D48FFB
monochromatic
#D8F719 #E2F954 #ECFB8F #F6FDCA #FAFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECFB8F#FFFFFF#000000##000000
##ECFB8F1.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)
#FFF186
Deuteranopia (green-blind)
#FFF394
Tritanopia (blue-blind)
#F7F0E1
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecfb8f;
/* rgb */ color: rgb(236, 251, 143);
/* oklch */ color: oklch(95.4% 0.133 115.5);
Tailwind
colors: {
  custom: {
    50: '#f4fcb1',
    500: '#ecfb8f',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb8f;
$custom-light: #f4fcb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb8f",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 143
  },
  "hsl": {
    "h": 68.333,
    "s": 93.103,
    "l": 77.255
  },
  "oklch": {
    "l": 0.95404,
    "c": 0.13346,
    "h": 115.5
  },
  "luminance": 0.8881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECFB8F

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

Preview Lab → · Contrast checker → · Palette generator →

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