#ECFA4B#ECFA4B

#ECFA4B is a very light, vivid yellow. Relative luminance 0.867; OKLCH L 94.5% C 0.189 H 114.0°. Best body text is #000000 at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#ECFA4B
RGBrgb(236, 250, 75)
HSLhsl(65, 95%, 64%)
HSVhsv(65, 70%, 98%)
CMYKcmyk(5.6%, 0%, 70%, 2%)
CIE-LABlab(94.62, -25.16, 77.60)
CIE-LCHlch(94.62, 81.57, 107.96°)
OKLaboklab(94.5% -0.0767 0.1724)
OKLCHoklch(94.5% 0.189 114)
XYZxyz(70.0497, 86.7135, 19.7025)
Luminance0.8671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFA4B #594BFA
analogous
#FAB04B #ECFA4B #94FA4B
triadic
#ECFA4B #4BECFA #FA4BEC
tetradic
#ECFA4B #4BFAB0 #594BFA #FA4B94
square
#ECFA4B #4BFAB0 #594BFA #FA4B94
split-complementary
#ECFA4B #4B94FA #B04BFA
monochromatic
#B6C505 #E6F80F #ECFA4B #F2FC87 #F9FDC2

Accessibility & contrast

On white

1.14
#ECFA4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.34
#ECFA4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFA4B
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFA4B#FFFFFF#000000##000000
##ECFA4B1.001.1418.3418.34
#FFFFFF1.141.0021.0021.00
#00000018.3421.001.001.00
##00000018.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE2C
Deuteranopia (green-blind)
#FFF159
Tritanopia (blue-blind)
#FBEBD8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ecfa4b;
/* rgb */ color: rgb(236, 250, 75);
/* oklch */ color: oklch(94.5% 0.189 114.0);
Tailwind
colors: {
  custom: {
    50: '#f6fb88',
    500: '#ecfa4b',
    950: '#000000',
  },
}
SCSS
$custom: #ecfa4b;
$custom-light: #f6fb88;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfa4b",
  "rgb": {
    "r": 236,
    "g": 250,
    "b": 75
  },
  "hsl": {
    "h": 64.8,
    "s": 94.595,
    "l": 63.725
  },
  "oklch": {
    "l": 0.94496,
    "c": 0.1887,
    "h": 114
  },
  "luminance": 0.86712
}

Semantic roles & 50–950 ramp

primary
#ECFA4B
secondary
#3427C2
accent
#00E612
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170C
muted
#86857F

Preview Lab

Preview with #ECFA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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