#ECF45B#ECF45B

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

Color values

HEX#ECF45B
RGBrgb(236, 244, 91)
HSLhsl(63, 87%, 66%)
HSVhsv(63, 63%, 96%)
CMYKcmyk(3.3%, 0%, 62.7%, 4.3%)
CIE-LABlab(93.14, -21.43, 70.20)
CIE-LCHlch(93.14, 73.40, 106.97°)
OKLaboklab(93.35% -0.0648 0.1593)
OKLCHoklch(93.35% 0.172 112.1)
XYZxyz(68.8330, 83.2911, 22.3463)
Luminance0.8329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF45B #635BF4
analogous
#F4AF5B #ECF45B #9FF45B
triadic
#ECF45B #5BECF4 #F45BEC
tetradic
#ECF45B #5BF4AF #635BF4 #F45B9F
square
#ECF45B #5BF4AF #635BF4 #F45B9F
split-complementary
#ECF45B #5B9FF4 #AF5BF4
monochromatic
#BEC70D #E5F022 #ECF45B #F3F894 #F9FCCE

Accessibility & contrast

On white

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

On black

17.66
#ECF45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF45B
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF45B#FFFFFF#000000##000000
##ECF45B1.001.1917.6617.66
#FFFFFF1.191.0021.0021.00
#00000017.6621.001.001.00
##00000017.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecf45b;
/* rgb */ color: rgb(236, 244, 91);
/* oklch */ color: oklch(93.3% 0.172 112.1);
Tailwind
colors: {
  custom: {
    50: '#f5f790',
    500: '#ecf45b',
    950: '#000000',
  },
}
SCSS
$custom: #ecf45b;
$custom-light: #f5f790;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf45b",
  "rgb": {
    "r": 236,
    "g": 244,
    "b": 91
  },
  "hsl": {
    "h": 63.137,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.93349,
    "c": 0.17193,
    "h": 112.1
  },
  "luminance": 0.8329
}

Semantic roles & 50–950 ramp

primary
#ECF45B
secondary
#372FC4
accent
#02E40D
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #ECF45B

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

Preview Lab → · Contrast checker → · Palette generator →

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