#ECF05D#ECF05D

#ECF05D is a very light, vivid yellow. Relative luminance 0.809; OKLCH L 92.5% C 0.166 H 110.7°. Best body text is #000000 at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#ECF05D
RGBrgb(236, 240, 93)
HSLhsl(62, 83%, 65%)
HSVhsv(62, 61%, 94%)
CMYKcmyk(1.7%, 0%, 61.2%, 5.9%)
CIE-LABlab(92.11, -19.38, 68.31)
CIE-LCHlch(92.11, 71.00, 105.84°)
OKLaboklab(92.53% -0.0588 0.1555)
OKLCHoklch(92.53% 0.166 110.7)
XYZxyz(67.7299, 80.9450, 22.4099)
Luminance0.8094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF05D #615DF0
analogous
#F0AB5D #ECF05D #A2F05D
triadic
#ECF05D #5DECF0 #F05DEC
tetradic
#ECF05D #5DF0AB #615DF0 #F05DA2
square
#ECF05D #5DF0AB #615DF0 #F05DA2
split-complementary
#ECF05D #5DA2F0 #AB5DF0
monochromatic
#BCC112 #E5EB25 #ECF05D #F3F595 #F9FACD

Accessibility & contrast

On white

1.22
#ECF05D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.19
#ECF05D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF05D
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF05D#FFFFFF#000000##000000
##ECF05D1.001.2217.1917.19
#FFFFFF1.221.0021.0021.00
#00000017.1921.001.001.00
##00000017.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE64B
Deuteranopia (green-blind)
#FFEA66
Tritanopia (blue-blind)
#FBE2D1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ecf05d;
/* rgb */ color: rgb(236, 240, 93);
/* oklch */ color: oklch(92.5% 0.166 110.7);
Tailwind
colors: {
  custom: {
    50: '#f5f491',
    500: '#ecf05d',
    950: '#000000',
  },
}
SCSS
$custom: #ecf05d;
$custom-light: #f5f491;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf05d",
  "rgb": {
    "r": 236,
    "g": 240,
    "b": 93
  },
  "hsl": {
    "h": 61.633,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.92527,
    "c": 0.16628,
    "h": 110.7
  },
  "luminance": 0.80943
}

Semantic roles & 50–950 ramp

primary
#ECF05D
secondary
#3632BF
accent
#06DF0C
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #ECF05D

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

Preview Lab → · Contrast checker → · Palette generator →

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