#ECFA5F#ECFA5F

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

Color values

HEX#ECFA5F
RGBrgb(236, 250, 95)
HSLhsl(65, 94%, 68%)
HSVhsv(65, 62%, 98%)
CMYKcmyk(5.6%, 0%, 62%, 2%)
CIE-LABlab(94.75, -24.03, 70.32)
CIE-LCHlch(94.75, 74.32, 108.87°)
OKLaboklab(94.65% -0.0717 0.1601)
OKLCHoklch(94.65% 0.175 114.1)
XYZxyz(70.8450, 87.0316, 23.8910)
Luminance0.8703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFA5F #6D5FFA
analogous
#FABA5F #ECFA5F #9FFA5F
triadic
#ECFA5F #5FECFA #FA5FEC
tetradic
#ECFA5F #5FFABA #6D5FFA #FA5F9F
square
#ECFA5F #5FFABA #6D5FFA #FA5F9F
split-complementary
#ECFA5F #5F9FFA #BA5FFA
monochromatic
#C5D807 #E5F824 #ECFA5F #F3FC9A #FAFED6

Accessibility & contrast

On white

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

On black

18.41
#ECFA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFA5F
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFA5F#FFFFFF#000000##000000
##ECFA5F1.001.1418.4118.41
#FFFFFF1.141.0021.0021.00
#00000018.4121.001.001.00
##00000018.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE4B
Deuteranopia (green-blind)
#FFF169
Tritanopia (blue-blind)
#FAECDA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ecfa5f;
/* rgb */ color: rgb(236, 250, 95);
/* oklch */ color: oklch(94.6% 0.175 114.1);
Tailwind
colors: {
  custom: {
    50: '#f5fb93',
    500: '#ecfa5f',
    950: '#000000',
  },
}
SCSS
$custom: #ecfa5f;
$custom-light: #f5fb93;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfa5f",
  "rgb": {
    "r": 236,
    "g": 250,
    "b": 95
  },
  "hsl": {
    "h": 65.419,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.94647,
    "c": 0.17539,
    "h": 114.1
  },
  "luminance": 0.8703
}

Semantic roles & 50–950 ramp

primary
#ECFA5F
secondary
#3A2BD2
accent
#00E615
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECFA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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