#ECF672#ECF672

#ECF672 is a very light, vivid yellow. Relative luminance 0.850; OKLCH L 94.0% C 0.155 H 113.0°. Best body text is #000000 at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#ECF672
RGBrgb(236, 246, 114)
HSLhsl(65, 88%, 71%)
HSVhsv(65, 54%, 96%)
CMYKcmyk(4.1%, 0%, 53.7%, 3.5%)
CIE-LABlab(93.87, -20.77, 61.34)
CIE-LCHlch(93.87, 64.76, 108.71°)
OKLaboklab(93.99% -0.0606 0.1432)
OKLCHoklch(93.99% 0.156 113)
XYZxyz(70.5866, 84.9606, 28.5970)
Luminance0.8496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF672 #7C72F6
analogous
#F6BE72 #ECF672 #AAF672
triadic
#ECF672 #72ECF6 #F672EC
tetradic
#ECF672 #72F6BE #7C72F6 #F672AA
square
#ECF672 #72F6BE #7C72F6 #F672AA
split-complementary
#ECF672 #72AAF6 #BE72F6
monochromatic
#D0DF0E #E4F238 #ECF672 #F4FAAC #FBFDE2

Accessibility & contrast

On white

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

On black

17.99
#ECF672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF672
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF672#FFFFFF#000000##000000
##ECF6721.001.1717.9917.99
#FFFFFF1.171.0021.0021.00
#00000017.9921.001.001.00
##00000017.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecf672;
/* rgb */ color: rgb(236, 246, 114);
/* oklch */ color: oklch(94.0% 0.155 113.0);
Tailwind
colors: {
  custom: {
    50: '#f4f99e',
    500: '#ecf672',
    950: '#000000',
  },
}
SCSS
$custom: #ecf672;
$custom-light: #f4f99e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf672",
  "rgb": {
    "r": 236,
    "g": 246,
    "b": 114
  },
  "hsl": {
    "h": 64.545,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.93992,
    "c": 0.1555,
    "h": 113
  },
  "luminance": 0.84959
}

Semantic roles & 50–950 ramp

primary
#ECF672
secondary
#473CD1
accent
#01E512
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF672

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

Preview Lab → · Contrast checker → · Palette generator →

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