#ECF372#ECF372

#ECF372 is a very light, vivid yellow. Relative luminance 0.831; OKLCH L 93.4% C 0.152 H 111.8°. Best body text is #000000 at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#ECF372
RGBrgb(236, 243, 114)
HSLhsl(63, 84%, 70%)
HSVhsv(63, 53%, 95%)
CMYKcmyk(2.9%, 0%, 53.1%, 4.7%)
CIE-LABlab(93.08, -19.33, 60.44)
CIE-LCHlch(93.08, 63.46, 107.73°)
OKLaboklab(93.37% -0.0566 0.1412)
OKLCHoklch(93.37% 0.152 111.8)
XYZxyz(69.6815, 83.1504, 28.2952)
Luminance0.8315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF372 #7972F3
analogous
#F3BA72 #ECF372 #ABF372
triadic
#ECF372 #72ECF3 #F372EC
tetradic
#ECF372 #72F3BA #7972F3 #F372AB
square
#ECF372 #72F3BA #7972F3 #F372AB
split-complementary
#ECF372 #72ABF3 #BA72F3
monochromatic
#CDD812 #E4EE3A #ECF372 #F4F8AA #FBFDE3

Accessibility & contrast

On white

1.19
#ECF372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.63
#ECF372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF372
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF372#FFFFFF#000000##000000
##ECF3721.001.1917.6317.63
#FFFFFF1.191.0021.0021.00
#00000017.6321.001.001.00
##00000017.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE965
Deuteranopia (green-blind)
#FFED79
Tritanopia (blue-blind)
#FAE6D6
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ecf372;
/* rgb */ color: rgb(236, 243, 114);
/* oklch */ color: oklch(93.4% 0.152 111.8);
Tailwind
colors: {
  custom: {
    50: '#f4f69e',
    500: '#ecf372',
    950: '#000000',
  },
}
SCSS
$custom: #ecf372;
$custom-light: #f4f69e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf372",
  "rgb": {
    "r": 236,
    "g": 243,
    "b": 114
  },
  "hsl": {
    "h": 63.256,
    "s": 84.314,
    "l": 70
  },
  "oklch": {
    "l": 0.93365,
    "c": 0.15215,
    "h": 111.8
  },
  "luminance": 0.83149
}

Semantic roles & 50–950 ramp

primary
#ECF372
secondary
#443CCD
accent
#05E111
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF372

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

Preview Lab → · Contrast checker → · Palette generator →

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