#ECF074#ECF074

#ECF074 is a very light, vivid yellow. Relative luminance 0.814; OKLCH L 92.8% C 0.147 H 110.6°. Best body text is #000000 at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#ECF074
RGBrgb(236, 240, 116)
HSLhsl(62, 81%, 70%)
HSVhsv(62, 52%, 94%)
CMYKcmyk(1.7%, 0%, 51.7%, 5.9%)
CIE-LABlab(92.32, -17.71, 58.66)
CIE-LCHlch(92.32, 61.28, 106.80°)
OKLaboklab(92.76% -0.0518 0.1376)
OKLCHoklch(92.76% 0.147 110.6)
XYZxyz(68.9061, 81.4155, 28.6045)
Luminance0.8141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF074 #7874F0
analogous
#F0B674 #ECF074 #AEF074
triadic
#ECF074 #74ECF0 #F074EC
tetradic
#ECF074 #74F0B6 #7874F0 #F074AE
square
#ECF074 #74F0B6 #7874F0 #F074AE
split-complementary
#ECF074 #74AEF0 #B674F0
monochromatic
#CDD317 #E4EA3D #ECF074 #F4F6AB #FBFCE2

Accessibility & contrast

On white

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

On black

17.28
#ECF074 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF074
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF074#FFFFFF#000000##000000
##ECF0741.001.2217.2817.28
#FFFFFF1.221.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE768
Deuteranopia (green-blind)
#FFEB7B
Tritanopia (blue-blind)
#FAE3D4
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ecf074;
/* rgb */ color: rgb(236, 240, 116);
/* oklch */ color: oklch(92.8% 0.147 110.6);
Tailwind
colors: {
  custom: {
    50: '#f4f49f',
    500: '#ecf074',
    950: '#000000',
  },
}
SCSS
$custom: #ecf074;
$custom-light: #f4f49f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf074",
  "rgb": {
    "r": 236,
    "g": 240,
    "b": 116
  },
  "hsl": {
    "h": 61.935,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.92761,
    "c": 0.14702,
    "h": 110.6
  },
  "luminance": 0.81414
}

Semantic roles & 50–950 ramp

primary
#ECF074
secondary
#433FC9
accent
#09DD0F
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF074

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

Preview Lab → · Contrast checker → · Palette generator →

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