#ECF261#ECF261

#ECF261 is a very light, vivid yellow. Relative luminance 0.822; OKLCH L 93.0% C 0.165 H 111.4°. Best body text is #000000 at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#ECF261
RGBrgb(236, 242, 97)
HSLhsl(62, 85%, 66%)
HSVhsv(62, 60%, 95%)
CMYKcmyk(2.5%, 0%, 59.9%, 5.1%)
CIE-LABlab(92.66, -20.09, 67.27)
CIE-LCHlch(92.66, 70.21, 106.62°)
OKLaboklab(92.98% -0.0604 0.1539)
OKLCHoklch(92.98% 0.165 111.4)
XYZxyz(68.5037, 82.2018, 23.5648)
Luminance0.8220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF261 #6761F2
analogous
#F2B061 #ECF261 #A4F261
triadic
#ECF261 #61ECF2 #F261EC
tetradic
#ECF261 #61F2B0 #6761F2 #F261A4
square
#ECF261 #61F2B0 #6761F2 #F261A4
split-complementary
#ECF261 #61A4F2 #B061F2
monochromatic
#C1C810 #E5ED28 #ECF261 #F3F79A #FAFBD2

Accessibility & contrast

On white

1.20
#ECF261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.44
#ECF261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF261
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF261#FFFFFF#000000##000000
##ECF2611.001.2017.4417.44
#FFFFFF1.201.0021.0021.00
#00000017.4421.001.001.00
##00000017.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE850
Deuteranopia (green-blind)
#FFEC6A
Tritanopia (blue-blind)
#FBE4D3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ecf261;
/* rgb */ color: rgb(236, 242, 97);
/* oklch */ color: oklch(93.0% 0.165 111.4);
Tailwind
colors: {
  custom: {
    50: '#f5f694',
    500: '#ecf261',
    950: '#000000',
  },
}
SCSS
$custom: #ecf261;
$custom-light: #f5f694;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf261",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 97
  },
  "hsl": {
    "h": 62.483,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.92982,
    "c": 0.16531,
    "h": 111.4
  },
  "luminance": 0.822
}

Semantic roles & 50–950 ramp

primary
#ECF261
secondary
#3832C5
accent
#04E10D
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF261

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

Preview Lab → · Contrast checker → · Palette generator →

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