#ECF25D#ECF25D

#ECF25D is a very light, vivid yellow. Relative luminance 0.821; OKLCH L 92.9% C 0.168 H 111.4°. Best body text is #000000 at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#ECF25D
RGBrgb(236, 242, 93)
HSLhsl(62, 85%, 66%)
HSVhsv(62, 62%, 95%)
CMYKcmyk(2.5%, 0%, 61.6%, 5.1%)
CIE-LABlab(92.63, -20.34, 68.87)
CIE-LCHlch(92.63, 71.81, 106.46°)
OKLaboklab(92.95% -0.0616 0.1567)
OKLCHoklch(92.95% 0.168 111.4)
XYZxyz(68.3219, 82.1290, 22.6073)
Luminance0.8213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF25D #635DF2
analogous
#F2AD5D #ECF25D #A1F25D
triadic
#ECF25D #5DECF2 #F25DEC
tetradic
#ECF25D #5DF2AD #635DF2 #F25DA1
square
#ECF25D #5DF2AD #635DF2 #F25DA1
split-complementary
#ECF25D #5DA1F2 #AD5DF2
monochromatic
#BEC510 #E5ED24 #ECF25D #F3F796 #F9FBCE

Accessibility & contrast

On white

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

On black

17.43
#ECF25D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF25D
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF25D#FFFFFF#000000##000000
##ECF25D1.001.2117.4317.43
#FFFFFF1.211.0021.0021.00
#00000017.4321.001.001.00
##00000017.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecf25d;
/* rgb */ color: rgb(236, 242, 93);
/* oklch */ color: oklch(92.9% 0.168 111.4);
Tailwind
colors: {
  custom: {
    50: '#f5f691',
    500: '#ecf25d',
    950: '#000000',
  },
}
SCSS
$custom: #ecf25d;
$custom-light: #f5f691;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf25d",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 93
  },
  "hsl": {
    "h": 62.416,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.92946,
    "c": 0.16837,
    "h": 111.4
  },
  "luminance": 0.82127
}

Semantic roles & 50–950 ramp

primary
#ECF25D
secondary
#3731C2
accent
#04E20D
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #ECF25D

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

Preview Lab → · Contrast checker → · Palette generator →

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