#ECF295#ECF295

#ECF295 is a very light, moderate yellow. Relative luminance 0.835; OKLCH L 93.6% C 0.116 H 111.6°. Best body text is #000000 at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#ECF295
RGBrgb(236, 242, 149)
HSLhsl(64, 78%, 77%)
HSVhsv(64, 38%, 95%)
CMYKcmyk(2.5%, 0%, 38.4%, 5.1%)
CIE-LABlab(93.24, -15.54, 44.19)
CIE-LCHlch(93.24, 46.84, 109.37°)
OKLaboklab(93.62% -0.0427 0.1078)
OKLCHoklch(93.62% 0.116 111.6)
XYZxyz(71.7697, 83.5082, 40.7659)
Luminance0.8351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF295 #9B95F2
analogous
#F2CA95 #ECF295 #BEF295
triadic
#ECF295 #95ECF2 #F295EC
tetradic
#ECF295 #95F2CA #9B95F2 #F295BE
square
#ECF295 #95F2CA #9B95F2 #F295BE
split-complementary
#ECF295 #95BEF2 #CA95F2
monochromatic
#D8E528 #E2EB5E #ECF295 #F6F9CC #FAFCE4

Accessibility & contrast

On white

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

On black

17.70
#ECF295 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF295
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF295#FFFFFF#000000##000000
##ECF2951.001.1917.7017.70
#FFFFFF1.191.0021.0021.00
#00000017.7021.001.001.00
##00000017.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA8E
Deuteranopia (green-blind)
#FFED99
Tritanopia (blue-blind)
#F7E8DB
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ecf295;
/* rgb */ color: rgb(236, 242, 149);
/* oklch */ color: oklch(93.6% 0.116 111.6);
Tailwind
colors: {
  custom: {
    50: '#f3f6b5',
    500: '#ecf295',
    950: '#000000',
  },
}
SCSS
$custom: #ecf295;
$custom-light: #f3f6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf295",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 149
  },
  "hsl": {
    "h": 63.871,
    "s": 78.151,
    "l": 76.667
  },
  "oklch": {
    "l": 0.93624,
    "c": 0.11598,
    "h": 111.6
  },
  "luminance": 0.83507
}

Semantic roles & 50–950 ramp

primary
#ECF295
secondary
#635CCF
accent
#0BDA18
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF295

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

Preview Lab → · Contrast checker → · Palette generator →

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