#ECF472#ECF472

#ECF472 is a very light, vivid yellow. Relative luminance 0.837; OKLCH L 93.6% C 0.153 H 112.2°. Best body text is #000000 at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#ECF472
RGBrgb(236, 244, 114)
HSLhsl(64, 86%, 70%)
HSVhsv(64, 53%, 96%)
CMYKcmyk(3.3%, 0%, 53.3%, 4.3%)
CIE-LABlab(93.34, -19.81, 60.74)
CIE-LCHlch(93.34, 63.89, 108.06°)
OKLaboklab(93.57% -0.0579 0.1419)
OKLCHoklch(93.57% 0.153 112.2)
XYZxyz(69.9815, 83.7505, 28.3953)
Luminance0.8375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF472 #7A72F4
analogous
#F4BB72 #ECF472 #ABF472
triadic
#ECF472 #72ECF4 #F472EC
tetradic
#ECF472 #72F4BB #7A72F4 #F472AB
square
#ECF472 #72F4BB #7A72F4 #F472AB
split-complementary
#ECF472 #72ABF4 #BB72F4
monochromatic
#CEDB11 #E4F039 #ECF472 #F4F8AB #FBFDE3

Accessibility & contrast

On white

1.18
#ECF472 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.75
#ECF472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF472
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF472#FFFFFF#000000##000000
##ECF4721.001.1817.7517.75
#FFFFFF1.181.0021.0021.00
#00000017.7521.001.001.00
##00000017.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA65
Deuteranopia (green-blind)
#FFEE79
Tritanopia (blue-blind)
#FAE7D7
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ecf472;
/* rgb */ color: rgb(236, 244, 114);
/* oklch */ color: oklch(93.6% 0.153 112.2);
Tailwind
colors: {
  custom: {
    50: '#f4f79e',
    500: '#ecf472',
    950: '#000000',
  },
}
SCSS
$custom: #ecf472;
$custom-light: #f4f79e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf472",
  "rgb": {
    "r": 236,
    "g": 244,
    "b": 114
  },
  "hsl": {
    "h": 63.692,
    "s": 85.526,
    "l": 70.196
  },
  "oklch": {
    "l": 0.93574,
    "c": 0.15327,
    "h": 112.2
  },
  "luminance": 0.83749
}

Semantic roles & 50–950 ramp

primary
#ECF472
secondary
#453CCE
accent
#03E211
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF472

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

Preview Lab → · Contrast checker → · Palette generator →

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