#ECF470#ECF470

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

Color values

HEX#ECF470
RGBrgb(236, 244, 112)
HSLhsl(64, 86%, 70%)
HSVhsv(64, 54%, 96%)
CMYKcmyk(3.3%, 0%, 54.1%, 4.3%)
CIE-LABlab(93.32, -19.97, 61.60)
CIE-LCHlch(93.32, 64.76, 107.96°)
OKLaboklab(93.55% -0.0586 0.1436)
OKLCHoklch(93.55% 0.155 112.2)
XYZxyz(69.8689, 83.7055, 27.8023)
Luminance0.8370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF470 #7870F4
analogous
#F4BA70 #ECF470 #AAF470
triadic
#ECF470 #70ECF4 #F470EC
tetradic
#ECF470 #70F4BA #7870F4 #F470AA
square
#ECF470 #70F4BA #7870F4 #F470AA
split-complementary
#ECF470 #70AAF4 #BA70F4
monochromatic
#CDD911 #E4F037 #ECF470 #F4F8A9 #FBFDE2

Accessibility & contrast

On white

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

On black

17.74
#ECF470 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF470
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF470#FFFFFF#000000##000000
##ECF4701.001.1817.7417.74
#FFFFFF1.181.0021.0021.00
#00000017.7421.001.001.00
##00000017.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecf470;
/* rgb */ color: rgb(236, 244, 112);
/* oklch */ color: oklch(93.6% 0.155 112.2);
Tailwind
colors: {
  custom: {
    50: '#f5f79d',
    500: '#ecf470',
    950: '#000000',
  },
}
SCSS
$custom: #ecf470;
$custom-light: #f5f79d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf470",
  "rgb": {
    "r": 236,
    "g": 244,
    "b": 112
  },
  "hsl": {
    "h": 63.636,
    "s": 85.714,
    "l": 69.804
  },
  "oklch": {
    "l": 0.93552,
    "c": 0.15504,
    "h": 112.2
  },
  "luminance": 0.83704
}

Semantic roles & 50–950 ramp

primary
#ECF470
secondary
#433ACE
accent
#03E211
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF470

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

Preview Lab → · Contrast checker → · Palette generator →

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