#ECF072#ECF072

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

Color values

HEX#ECF072
RGBrgb(236, 240, 114)
HSLhsl(62, 81%, 69%)
HSVhsv(62, 53%, 94%)
CMYKcmyk(1.7%, 0%, 52.5%, 5.9%)
CIE-LABlab(92.30, -17.87, 59.54)
CIE-LCHlch(92.30, 62.16, 106.71°)
OKLaboklab(92.74% -0.0524 0.1393)
OKLCHoklch(92.74% 0.149 110.6)
XYZxyz(68.7910, 81.3695, 27.9984)
Luminance0.8137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF072 #7672F0
analogous
#F0B572 #ECF072 #ADF072
triadic
#ECF072 #72ECF0 #F072EC
tetradic
#ECF072 #72F0B5 #7672F0 #F072AD
square
#ECF072 #72F0B5 #7672F0 #F072AD
split-complementary
#ECF072 #72ADF0 #B572F0
monochromatic
#CBD116 #E5EA3B #ECF072 #F3F6A9 #FBFCE1

Accessibility & contrast

On white

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

On black

17.27
#ECF072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF072
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF072#FFFFFF#000000##000000
##ECF0721.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecf072;
/* rgb */ color: rgb(236, 240, 114);
/* oklch */ color: oklch(92.7% 0.149 110.6);
Tailwind
colors: {
  custom: {
    50: '#f4f49e',
    500: '#ecf072',
    950: '#000000',
  },
}
SCSS
$custom: #ecf072;
$custom-light: #f4f49e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf072",
  "rgb": {
    "r": 236,
    "g": 240,
    "b": 114
  },
  "hsl": {
    "h": 61.905,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.92739,
    "c": 0.14884,
    "h": 110.6
  },
  "luminance": 0.81368
}

Semantic roles & 50–950 ramp

primary
#ECF072
secondary
#413DC9
accent
#08DD0F
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF072

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

Preview Lab → · Contrast checker → · Palette generator →

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