#ECF752#ECF752

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

Color values

HEX#ECF752
RGBrgb(236, 247, 82)
HSLhsl(64, 91%, 65%)
HSVhsv(64, 67%, 97%)
CMYKcmyk(4.5%, 0%, 66.8%, 3.1%)
CIE-LABlab(93.87, -23.38, 74.38)
CIE-LCHlch(93.87, 77.97, 107.45°)
OKLaboklab(93.91% -0.0711 0.1667)
OKLCHoklch(93.91% 0.181 113.1)
XYZxyz(69.3778, 84.9650, 20.7262)
Luminance0.8496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF752 #5D52F7
analogous
#F7B052 #ECF752 #9AF752
triadic
#ECF752 #52ECF7 #F752EC
tetradic
#ECF752 #52F7B0 #5D52F7 #F7529A
square
#ECF752 #52F7B0 #5D52F7 #F7529A
split-complementary
#ECF752 #529AF7 #B052F7
monochromatic
#B9C509 #E6F418 #ECF752 #F2FA8C #F9FCC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECF752#FFFFFF#000000##000000
##ECF7521.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)
#FFEC39
Deuteranopia (green-blind)
#FFEF5E
Tritanopia (blue-blind)
#FBE9D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ecf752;
/* rgb */ color: rgb(236, 247, 82);
/* oklch */ color: oklch(93.9% 0.181 113.1);
Tailwind
colors: {
  custom: {
    50: '#f6f98b',
    500: '#ecf752',
    950: '#000000',
  },
}
SCSS
$custom: #ecf752;
$custom-light: #f6f98b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf752",
  "rgb": {
    "r": 236,
    "g": 247,
    "b": 82
  },
  "hsl": {
    "h": 64,
    "s": 91.16,
    "l": 64.51
  },
  "oklch": {
    "l": 0.9391,
    "c": 0.18126,
    "h": 113.1
  },
  "luminance": 0.84964
}

Semantic roles & 50–950 ramp

primary
#ECF752
secondary
#352BC2
accent
#00E60F
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #ECF752

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

Preview Lab → · Contrast checker → · Palette generator →

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