#ECF174#ECF174

#ECF174 is a very light, vivid yellow. Relative luminance 0.820; OKLCH L 93.0% C 0.148 H 111.0°. Best body text is #000000 at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#ECF174
RGBrgb(236, 241, 116)
HSLhsl(62, 82%, 70%)
HSVhsv(62, 52%, 95%)
CMYKcmyk(2.1%, 0%, 51.9%, 5.5%)
CIE-LABlab(92.58, -18.20, 58.96)
CIE-LCHlch(92.58, 61.71, 107.15°)
OKLaboklab(92.97% -0.0532 0.1383)
OKLCHoklch(92.97% 0.148 111)
XYZxyz(69.2013, 82.0059, 28.7029)
Luminance0.8200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF174 #7974F1
analogous
#F1B774 #ECF174 #AEF174
triadic
#ECF174 #74ECF1 #F174EC
tetradic
#ECF174 #74F1B7 #7974F1 #F174AE
square
#ECF174 #74F1B7 #7974F1 #F174AE
split-complementary
#ECF174 #74AEF1 #B774F1
monochromatic
#CDD515 #E4EB3C #ECF174 #F4F7AC #FBFCE3

Accessibility & contrast

On white

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

On black

17.40
#ECF174 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF174
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF174#FFFFFF#000000##000000
##ECF1741.001.2117.4017.40
#FFFFFF1.211.0021.0021.00
#00000017.4021.001.001.00
##00000017.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE868
Deuteranopia (green-blind)
#FFEB7B
Tritanopia (blue-blind)
#FAE4D5
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ecf174;
/* rgb */ color: rgb(236, 241, 116);
/* oklch */ color: oklch(93.0% 0.148 111.0);
Tailwind
colors: {
  custom: {
    50: '#f4f59f',
    500: '#ecf174',
    950: '#000000',
  },
}
SCSS
$custom: #ecf174;
$custom-light: #f4f59f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf174",
  "rgb": {
    "r": 236,
    "g": 241,
    "b": 116
  },
  "hsl": {
    "h": 62.4,
    "s": 81.699,
    "l": 70
  },
  "oklch": {
    "l": 0.9297,
    "c": 0.14813,
    "h": 111
  },
  "luminance": 0.82004
}

Semantic roles & 50–950 ramp

primary
#ECF174
secondary
#443FCB
accent
#07DE10
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF174

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

Preview Lab → · Contrast checker → · Palette generator →

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