#ECF148#ECF148

#ECF148 is a very light, vivid yellow. Relative luminance 0.812; OKLCH L 92.6% C 0.181 H 111.2°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#ECF148
RGBrgb(236, 241, 72)
HSLhsl(62, 86%, 61%)
HSVhsv(62, 70%, 95%)
CMYKcmyk(2.1%, 0%, 70.1%, 5.5%)
CIE-LABlab(92.23, -21.02, 76.30)
CIE-LCHlch(92.23, 79.14, 105.40°)
OKLaboklab(92.58% -0.0655 0.1692)
OKLCHoklch(92.58% 0.181 111.2)
XYZxyz(67.2193, 81.2131, 18.2644)
Luminance0.8121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF148 #4D48F1
analogous
#F1A248 #ECF148 #98F148
triadic
#ECF148 #48ECF1 #F148EC
tetradic
#ECF148 #48F1A2 #4D48F1 #F14898
square
#ECF148 #48F1A2 #4D48F1 #F14898
split-complementary
#ECF148 #4898F1 #A248F1
monochromatic
#ACB10E #E4EA12 #ECF148 #F2F581 #F8FABA

Accessibility & contrast

On white

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

On black

17.24
#ECF148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF148
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF148#FFFFFF#000000##000000
##ECF1481.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE629
Deuteranopia (green-blind)
#FFEB55
Tritanopia (blue-blind)
#FCE2D0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ecf148;
/* rgb */ color: rgb(236, 241, 72);
/* oklch */ color: oklch(92.6% 0.181 111.2);
Tailwind
colors: {
  custom: {
    50: '#f6f586',
    500: '#ecf148',
    950: '#000000',
  },
}
SCSS
$custom: #ecf148;
$custom-light: #f6f586;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf148",
  "rgb": {
    "r": 236,
    "g": 241,
    "b": 72
  },
  "hsl": {
    "h": 61.775,
    "s": 85.787,
    "l": 61.373
  },
  "oklch": {
    "l": 0.92577,
    "c": 0.18139,
    "h": 111.2
  },
  "luminance": 0.81211
}

Semantic roles & 50–950 ramp

primary
#ECF148
secondary
#302CB1
accent
#03E20A
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170C
muted
#86857F

Preview Lab

Preview with #ECF148

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

Preview Lab → · Contrast checker → · Palette generator →

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