#ECF274#ECF274

#ECF274 is a very light, vivid yellow. Relative luminance 0.826; OKLCH L 93.2% C 0.149 H 111.4°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#ECF274
RGBrgb(236, 242, 116)
HSLhsl(63, 83%, 70%)
HSVhsv(63, 52%, 95%)
CMYKcmyk(2.5%, 0%, 52.1%, 5.1%)
CIE-LABlab(92.84, -18.68, 59.27)
CIE-LCHlch(92.84, 62.14, 107.50°)
OKLaboklab(93.18% -0.0545 0.1389)
OKLCHoklch(93.18% 0.149 111.4)
XYZxyz(69.4981, 82.5995, 28.8019)
Luminance0.8260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF274 #7A74F2
analogous
#F2B974 #ECF274 #ADF274
triadic
#ECF274 #74ECF2 #F274EC
tetradic
#ECF274 #74F2B9 #7A74F2 #F274AD
square
#ECF274 #74F2B9 #7A74F2 #F274AD
split-complementary
#ECF274 #74ADF2 #B974F2
monochromatic
#CED714 #E4ED3C #ECF274 #F4F7AC #FBFCE3

Accessibility & contrast

On white

1.20
#ECF274 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.52
#ECF274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF274
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF274#FFFFFF#000000##000000
##ECF2741.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE968
Deuteranopia (green-blind)
#FFEC7B
Tritanopia (blue-blind)
#FAE5D6
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ecf274;
/* rgb */ color: rgb(236, 242, 116);
/* oklch */ color: oklch(93.2% 0.149 111.4);
Tailwind
colors: {
  custom: {
    50: '#f4f69f',
    500: '#ecf274',
    950: '#000000',
  },
}
SCSS
$custom: #ecf274;
$custom-light: #f4f69f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf274",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 116
  },
  "hsl": {
    "h": 62.857,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.93178,
    "c": 0.14924,
    "h": 111.4
  },
  "luminance": 0.82598
}

Semantic roles & 50–950 ramp

primary
#ECF274
secondary
#453ECC
accent
#06DF11
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF274

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

Preview Lab → · Contrast checker → · Palette generator →

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