#ECF273#ECF273

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

Color values

HEX#ECF273
RGBrgb(236, 242, 115)
HSLhsl(63, 83%, 70%)
HSVhsv(63, 52%, 95%)
CMYKcmyk(2.5%, 0%, 52.5%, 5.1%)
CIE-LABlab(92.83, -18.76, 59.70)
CIE-LCHlch(92.83, 62.58, 107.45°)
OKLaboklab(93.17% -0.0549 0.1398)
OKLCHoklch(93.17% 0.15 111.4)
XYZxyz(69.4403, 82.5764, 28.4972)
Luminance0.8257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF273 #7973F2
analogous
#F2B973 #ECF273 #ACF273
triadic
#ECF273 #73ECF2 #F273EC
tetradic
#ECF273 #73F2B9 #7973F2 #F273AC
square
#ECF273 #73F2B9 #7973F2 #F273AC
split-complementary
#ECF273 #73ACF2 #B973F2
monochromatic
#CDD714 #E4ED3B #ECF273 #F4F7AB #FBFCE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECF273#FFFFFF#000000##000000
##ECF2731.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)
#FFE967
Deuteranopia (green-blind)
#FFEC7A
Tritanopia (blue-blind)
#FAE5D6
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ecf273;
/* rgb */ color: rgb(236, 242, 115);
/* oklch */ color: oklch(93.2% 0.150 111.4);
Tailwind
colors: {
  custom: {
    50: '#f4f69f',
    500: '#ecf273',
    950: '#000000',
  },
}
SCSS
$custom: #ecf273;
$custom-light: #f4f69f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf273",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 115
  },
  "hsl": {
    "h": 62.835,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.93167,
    "c": 0.15014,
    "h": 111.4
  },
  "luminance": 0.82575
}

Semantic roles & 50–950 ramp

primary
#ECF273
secondary
#443DCC
accent
#06DF10
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF273

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

Preview Lab → · Contrast checker → · Palette generator →

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