#ECF45F#ECF45F

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

Color values

HEX#ECF45F
RGBrgb(236, 244, 95)
HSLhsl(63, 87%, 66%)
HSVhsv(63, 61%, 96%)
CMYKcmyk(3.3%, 0%, 61.1%, 4.3%)
CIE-LABlab(93.17, -21.18, 68.64)
CIE-LCHlch(93.17, 71.83, 107.15°)
OKLaboklab(93.38% -0.0637 0.1565)
OKLCHoklch(93.38% 0.169 112.1)
XYZxyz(69.0102, 83.3620, 23.2794)
Luminance0.8336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF45F #675FF4
analogous
#F4B15F #ECF45F #A2F45F
triadic
#ECF45F #5FECF4 #F45FEC
tetradic
#ECF45F #5FF4B1 #675FF4 #F45FA2
square
#ECF45F #5FF4B1 #675FF4 #F45FA2
split-complementary
#ECF45F #5FA2F4 #B15FF4
monochromatic
#C1CB0E #E5F026 #ECF45F #F3F898 #FAFCD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECF45F#FFFFFF#000000##000000
##ECF45F1.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)
#FFE94D
Deuteranopia (green-blind)
#FFED68
Tritanopia (blue-blind)
#FBE6D5
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ecf45f;
/* rgb */ color: rgb(236, 244, 95);
/* oklch */ color: oklch(93.4% 0.169 112.1);
Tailwind
colors: {
  custom: {
    50: '#f5f793',
    500: '#ecf45f',
    950: '#000000',
  },
}
SCSS
$custom: #ecf45f;
$custom-light: #f5f793;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf45f",
  "rgb": {
    "r": 236,
    "g": 244,
    "b": 95
  },
  "hsl": {
    "h": 63.221,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.93384,
    "c": 0.16896,
    "h": 112.1
  },
  "luminance": 0.8336
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECF45F

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

Preview Lab → · Contrast checker → · Palette generator →

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