#ECF45A#ECF45A

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

Color values

HEX#ECF45A
RGBrgb(236, 244, 90)
HSLhsl(63, 88%, 65%)
HSVhsv(63, 63%, 96%)
CMYKcmyk(3.3%, 0%, 63.1%, 4.3%)
CIE-LABlab(93.13, -21.49, 70.59)
CIE-LCHlch(93.13, 73.79, 106.93°)
OKLaboklab(93.34% -0.0651 0.1599)
OKLCHoklch(93.34% 0.173 112.1)
XYZxyz(68.7901, 83.2740, 22.1206)
Luminance0.8327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF45A #625AF4
analogous
#F4AF5A #ECF45A #9FF45A
triadic
#ECF45A #5AECF4 #F45AEC
tetradic
#ECF45A #5AF4AF #625AF4 #F45A9F
square
#ECF45A #5AF4AF #625AF4 #F45A9F
split-complementary
#ECF45A #5A9FF4 #AF5AF4
monochromatic
#BDC60D #E5F021 #ECF45A #F3F893 #F9FCCD

Accessibility & contrast

On white

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

On black

17.65
#ECF45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF45A
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF45A#FFFFFF#000000##000000
##ECF45A1.001.1917.6517.65
#FFFFFF1.191.0021.0021.00
#00000017.6521.001.001.00
##00000017.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE946
Deuteranopia (green-blind)
#FFED64
Tritanopia (blue-blind)
#FBE6D4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ecf45a;
/* rgb */ color: rgb(236, 244, 90);
/* oklch */ color: oklch(93.3% 0.173 112.1);
Tailwind
colors: {
  custom: {
    50: '#f5f790',
    500: '#ecf45a',
    950: '#000000',
  },
}
SCSS
$custom: #ecf45a;
$custom-light: #f5f790;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf45a",
  "rgb": {
    "r": 236,
    "g": 244,
    "b": 90
  },
  "hsl": {
    "h": 63.117,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.93341,
    "c": 0.17266,
    "h": 112.1
  },
  "luminance": 0.83272
}

Semantic roles & 50–950 ramp

primary
#ECF45A
secondary
#372FC3
accent
#01E40D
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #ECF45A

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

Preview Lab → · Contrast checker → · Palette generator →

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