#ECFC4B#ECFC4B

#ECFC4B is a very light, vivid yellow. Relative luminance 0.880; OKLCH L 94.9% C 0.191 H 114.6°. Best body text is #000000 at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#ECFC4B
RGBrgb(236, 252, 75)
HSLhsl(65, 97%, 64%)
HSVhsv(65, 70%, 99%)
CMYKcmyk(6.3%, 0%, 70.2%, 1.2%)
CIE-LABlab(95.15, -26.10, 78.11)
CIE-LCHlch(95.15, 82.35, 108.47°)
OKLaboklab(94.92% -0.0794 0.1735)
OKLCHoklch(94.92% 0.191 114.6)
XYZxyz(70.6744, 87.9630, 19.9108)
Luminance0.8796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFC4B #5B4BFC
analogous
#FCB44B #ECFC4B #94FC4B
triadic
#ECFC4B #4BECFC #FC4BEC
tetradic
#ECFC4B #4BFCB4 #5B4BFC #FC4B94
square
#ECFC4B #4BFCB4 #5B4BFC #FC4B94
split-complementary
#ECFC4B #4B94FC #B44BFC
monochromatic
#B7C903 #E6FB0F #ECFC4B #F2FD87 #F9FEC3

Accessibility & contrast

On white

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

On black

18.59
#ECFC4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFC4B
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFC4B#FFFFFF#000000##000000
##ECFC4B1.001.1318.5918.59
#FFFFFF1.131.0021.0021.00
#00000018.5921.001.001.00
##00000018.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF02B
Deuteranopia (green-blind)
#FFF359
Tritanopia (blue-blind)
#FBEDDA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecfc4b;
/* rgb */ color: rgb(236, 252, 75);
/* oklch */ color: oklch(94.9% 0.191 114.6);
Tailwind
colors: {
  custom: {
    50: '#f6fd88',
    500: '#ecfc4b',
    950: '#000000',
  },
}
SCSS
$custom: #ecfc4b;
$custom-light: #f6fd88;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfc4b",
  "rgb": {
    "r": 236,
    "g": 252,
    "b": 75
  },
  "hsl": {
    "h": 65.424,
    "s": 96.721,
    "l": 64.118
  },
  "oklch": {
    "l": 0.9492,
    "c": 0.19077,
    "h": 114.6
  },
  "luminance": 0.87962
}

Semantic roles & 50–950 ramp

primary
#ECFC4B
secondary
#3426C5
accent
#00E615
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170C
muted
#86857F

Preview Lab

Preview with #ECFC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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