#ECF670#ECF670

#ECF670 is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 94.0% C 0.157 H 112.9°. Best body text is #000000 at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#ECF670
RGBrgb(236, 246, 112)
HSLhsl(64, 88%, 70%)
HSVhsv(64, 54%, 96%)
CMYKcmyk(4.1%, 0%, 54.5%, 3.5%)
CIE-LABlab(93.85, -20.93, 62.20)
CIE-LCHlch(93.85, 65.63, 108.59°)
OKLaboklab(93.97% -0.0613 0.1448)
OKLCHoklch(93.97% 0.157 112.9)
XYZxyz(70.4740, 84.9156, 28.0040)
Luminance0.8491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF670 #7A70F6
analogous
#F6BD70 #ECF670 #A9F670
triadic
#ECF670 #70ECF6 #F670EC
tetradic
#ECF670 #70F6BD #7A70F6 #F670A9
square
#ECF670 #70F6BD #7A70F6 #F670A9
split-complementary
#ECF670 #70A9F6 #BD70F6
monochromatic
#CEDE0E #E4F236 #ECF670 #F4FAAA #FBFDE2

Accessibility & contrast

On white

1.17
#ECF670 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.98
#ECF670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF670
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF670#FFFFFF#000000##000000
##ECF6701.001.1717.9817.98
#FFFFFF1.171.0021.0021.00
#00000017.9821.001.001.00
##00000017.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC62
Deuteranopia (green-blind)
#FFEF78
Tritanopia (blue-blind)
#FAE9D9
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ecf670;
/* rgb */ color: rgb(236, 246, 112);
/* oklch */ color: oklch(94.0% 0.157 112.9);
Tailwind
colors: {
  custom: {
    50: '#f5f99d',
    500: '#ecf670',
    950: '#000000',
  },
}
SCSS
$custom: #ecf670;
$custom-light: #f5f99d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf670",
  "rgb": {
    "r": 236,
    "g": 246,
    "b": 112
  },
  "hsl": {
    "h": 64.478,
    "s": 88.158,
    "l": 70.196
  },
  "oklch": {
    "l": 0.93971,
    "c": 0.15726,
    "h": 112.9
  },
  "luminance": 0.84914
}

Semantic roles & 50–950 ramp

primary
#ECF670
secondary
#453AD0
accent
#01E512
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF670

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

Preview Lab → · Contrast checker → · Palette generator →

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