#ECFA5C#ECFA5C

#ECFA5C is a very light, vivid yellow. Relative luminance 0.870; OKLCH L 94.6% C 0.178 H 114.1°. Best body text is #000000 at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#ECFA5C
RGBrgb(236, 250, 92)
HSLhsl(65, 94%, 67%)
HSVhsv(65, 63%, 98%)
CMYKcmyk(5.6%, 0%, 63.2%, 2%)
CIE-LABlab(94.73, -24.22, 71.48)
CIE-LCHlch(94.73, 75.47, 108.72°)
OKLaboklab(94.62% -0.0726 0.1621)
OKLCHoklch(94.62% 0.178 114.1)
XYZxyz(70.7112, 86.9781, 23.1866)
Luminance0.8698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFA5C #6A5CFA
analogous
#FAB95C #ECFA5C #9DFA5C
triadic
#ECFA5C #5CECFA #FA5CEC
tetradic
#ECFA5C #5CFAB9 #6A5CFA #FA5C9D
square
#ECFA5C #5CFAB9 #6A5CFA #FA5C9D
split-complementary
#ECFA5C #5C9DFA #B95CFA
monochromatic
#C3D507 #E5F821 #ECFA5C #F3FC97 #FAFED3

Accessibility & contrast

On white

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

On black

18.40
#ECFA5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFA5C
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFA5C#FFFFFF#000000##000000
##ECFA5C1.001.1418.4018.40
#FFFFFF1.141.0021.0021.00
#00000018.4021.001.001.00
##00000018.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE47
Deuteranopia (green-blind)
#FFF167
Tritanopia (blue-blind)
#FBECD9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ecfa5c;
/* rgb */ color: rgb(236, 250, 92);
/* oklch */ color: oklch(94.6% 0.178 114.1);
Tailwind
colors: {
  custom: {
    50: '#f5fb91',
    500: '#ecfa5c',
    950: '#000000',
  },
}
SCSS
$custom: #ecfa5c;
$custom-light: #f5fb91;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfa5c",
  "rgb": {
    "r": 236,
    "g": 250,
    "b": 92
  },
  "hsl": {
    "h": 65.316,
    "s": 94.048,
    "l": 67.059
  },
  "oklch": {
    "l": 0.94622,
    "c": 0.17758,
    "h": 114.1
  },
  "luminance": 0.86977
}

Semantic roles & 50–950 ramp

primary
#ECFA5C
secondary
#392BCF
accent
#00E614
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #ECFA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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