#ECF258#ECF258

#ECF258 is a very light, vivid yellow. Relative luminance 0.820; OKLCH L 92.9% C 0.172 H 111.5°. Best body text is #000000 at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#ECF258
RGBrgb(236, 242, 88)
HSLhsl(62, 86%, 65%)
HSVhsv(62, 64%, 95%)
CMYKcmyk(2.5%, 0%, 63.6%, 5.1%)
CIE-LABlab(92.59, -20.65, 70.81)
CIE-LCHlch(92.59, 73.76, 106.26°)
OKLaboklab(92.9% -0.0629 0.1601)
OKLCHoklch(92.9% 0.172 111.5)
XYZxyz(68.1077, 82.0433, 21.4788)
Luminance0.8204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF258 #5E58F2
analogous
#F2AB58 #ECF258 #9FF258
triadic
#ECF258 #58ECF2 #F258EC
tetradic
#ECF258 #58F2AB #5E58F2 #F2589F
square
#ECF258 #58F2AB #5E58F2 #F2589F
split-complementary
#ECF258 #589FF2 #AB58F2
monochromatic
#BAC10F #E6EE1F #ECF258 #F2F691 #F9FBCA

Accessibility & contrast

On white

1.21
#ECF258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.41
#ECF258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF258
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF258#FFFFFF#000000##000000
##ECF2581.001.2117.4117.41
#FFFFFF1.211.0021.0021.00
#00000017.4121.001.001.00
##00000017.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE843
Deuteranopia (green-blind)
#FFEC62
Tritanopia (blue-blind)
#FBE4D2
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ecf258;
/* rgb */ color: rgb(236, 242, 88);
/* oklch */ color: oklch(92.9% 0.172 111.5);
Tailwind
colors: {
  custom: {
    50: '#f5f68e',
    500: '#ecf258',
    950: '#000000',
  },
}
SCSS
$custom: #ecf258;
$custom-light: #f5f68e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf258",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 88
  },
  "hsl": {
    "h": 62.338,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.92904,
    "c": 0.17201,
    "h": 111.5
  },
  "luminance": 0.82042
}

Semantic roles & 50–950 ramp

primary
#ECF258
secondary
#3530BE
accent
#03E20C
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #ECF258

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

Preview Lab → · Contrast checker → · Palette generator →

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