#ECF272#ECF272

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

Color values

HEX#ECF272
RGBrgb(236, 242, 114)
HSLhsl(63, 83%, 70%)
HSVhsv(63, 53%, 95%)
CMYKcmyk(2.5%, 0%, 52.9%, 5.1%)
CIE-LABlab(92.82, -18.84, 60.14)
CIE-LCHlch(92.82, 63.02, 107.40°)
OKLaboklab(93.16% -0.0552 0.1406)
OKLCHoklch(93.16% 0.151 111.4)
XYZxyz(69.3830, 82.5535, 28.1958)
Luminance0.8255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF272 #7872F2
analogous
#F2B872 #ECF272 #ACF272
triadic
#ECF272 #72ECF2 #F272EC
tetradic
#ECF272 #72F2B8 #7872F2 #F272AC
square
#ECF272 #72F2B8 #7872F2 #F272AC
split-complementary
#ECF272 #72ACF2 #B872F2
monochromatic
#CDD614 #E4ED3A #ECF272 #F4F7AA #FBFCE2

Accessibility & contrast

On white

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

On black

17.51
#ECF272 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF272
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF272#FFFFFF#000000##000000
##ECF2721.001.2017.5117.51
#FFFFFF1.201.0021.0021.00
#00000017.5121.001.001.00
##00000017.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecf272;
/* rgb */ color: rgb(236, 242, 114);
/* oklch */ color: oklch(93.2% 0.151 111.4);
Tailwind
colors: {
  custom: {
    50: '#f4f69e',
    500: '#ecf272',
    950: '#000000',
  },
}
SCSS
$custom: #ecf272;
$custom-light: #f4f69e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf272",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 114
  },
  "hsl": {
    "h": 62.813,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.93156,
    "c": 0.15104,
    "h": 111.4
  },
  "luminance": 0.82552
}

Semantic roles & 50–950 ramp

primary
#ECF272
secondary
#433DCC
accent
#06E010
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF272

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

Preview Lab → · Contrast checker → · Palette generator →

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