#ECF95D#ECF95D

#ECF95D is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.4% C 0.176 H 113.8°. Best body text is #000000 at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#ECF95D
RGBrgb(236, 249, 93)
HSLhsl(65, 93%, 67%)
HSVhsv(65, 63%, 98%)
CMYKcmyk(5.2%, 0%, 62.7%, 2.4%)
CIE-LABlab(94.47, -23.69, 70.82)
CIE-LCHlch(94.47, 74.67, 108.49°)
OKLaboklab(94.42% -0.071 0.1608)
OKLCHoklch(94.42% 0.176 113.8)
XYZxyz(70.4453, 86.3759, 23.3151)
Luminance0.8638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF95D #6A5DF9
analogous
#F9B85D #ECF95D #9EF95D
triadic
#ECF95D #5DECF9 #F95DEC
tetradic
#ECF95D #5DF9B8 #6A5DF9 #F95D9E
square
#ECF95D #5DF9B8 #6A5DF9 #F95D9E
split-complementary
#ECF95D #5D9EF9 #B85DF9
monochromatic
#C3D408 #E5F722 #ECF95D #F3FB98 #FAFDD3

Accessibility & contrast

On white

1.15
#ECF95D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.27
#ECF95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF95D
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF95D#FFFFFF#000000##000000
##ECF95D1.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE49
Deuteranopia (green-blind)
#FFF167
Tritanopia (blue-blind)
#FBEBD9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ecf95d;
/* rgb */ color: rgb(236, 249, 93);
/* oklch */ color: oklch(94.4% 0.176 113.8);
Tailwind
colors: {
  custom: {
    50: '#f5fb92',
    500: '#ecf95d',
    950: '#000000',
  },
}
SCSS
$custom: #ecf95d;
$custom-light: #f5fb92;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf95d",
  "rgb": {
    "r": 236,
    "g": 249,
    "b": 93
  },
  "hsl": {
    "h": 65,
    "s": 92.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.94419,
    "c": 0.17579,
    "h": 113.8
  },
  "luminance": 0.86375
}

Semantic roles & 50–950 ramp

primary
#ECF95D
secondary
#392CCE
accent
#00E613
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #ECF95D

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

Preview Lab → · Contrast checker → · Palette generator →

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