#ECF45D#ECF45D

#ECF45D is a very light, vivid yellow. Relative luminance 0.833; OKLCH L 93.4% C 0.170 H 112.1°. Best body text is #000000 at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#ECF45D
RGBrgb(236, 244, 93)
HSLhsl(63, 87%, 66%)
HSVhsv(63, 62%, 96%)
CMYKcmyk(3.3%, 0%, 61.9%, 4.3%)
CIE-LABlab(93.16, -21.30, 69.42)
CIE-LCHlch(93.16, 72.62, 107.06°)
OKLaboklab(93.37% -0.0643 0.1579)
OKLCHoklch(93.37% 0.17 112.1)
XYZxyz(68.9204, 83.3261, 22.8068)
Luminance0.8333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF45D #655DF4
analogous
#F4B05D #ECF45D #A0F45D
triadic
#ECF45D #5DECF4 #F45DEC
tetradic
#ECF45D #5DF4B0 #655DF4 #F45DA0
square
#ECF45D #5DF4B0 #655DF4 #F45DA0
split-complementary
#ECF45D #5DA0F4 #B05DF4
monochromatic
#BFC90E #E5F024 #ECF45D #F3F896 #F9FCD0

Accessibility & contrast

On white

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

On black

17.67
#ECF45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF45D
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF45D#FFFFFF#000000##000000
##ECF45D1.001.1917.6717.67
#FFFFFF1.191.0021.0021.00
#00000017.6721.001.001.00
##00000017.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE94A
Deuteranopia (green-blind)
#FFED67
Tritanopia (blue-blind)
#FBE6D5
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ecf45d;
/* rgb */ color: rgb(236, 244, 93);
/* oklch */ color: oklch(93.4% 0.170 112.1);
Tailwind
colors: {
  custom: {
    50: '#f5f791',
    500: '#ecf45d',
    950: '#000000',
  },
}
SCSS
$custom: #ecf45d;
$custom-light: #f5f791;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf45d",
  "rgb": {
    "r": 236,
    "g": 244,
    "b": 93
  },
  "hsl": {
    "h": 63.179,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.93366,
    "c": 0.17047,
    "h": 112.1
  },
  "luminance": 0.83325
}

Semantic roles & 50–950 ramp

primary
#ECF45D
secondary
#3830C6
accent
#02E40E
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #ECF45D

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

Preview Lab → · Contrast checker → · Palette generator →

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