#ECF98B#ECF98B

#ECF98B is a very light, vivid yellow. Relative luminance 0.874; OKLCH L 94.9% C 0.135 H 114.5°. Best body text is #000000 at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#ECF98B
RGBrgb(236, 249, 139)
HSLhsl(67, 90%, 76%)
HSVhsv(67, 44%, 98%)
CMYKcmyk(5.2%, 0%, 44.2%, 2.4%)
CIE-LABlab(94.93, -19.98, 51.13)
CIE-LCHlch(94.93, 54.89, 111.34°)
OKLaboklab(94.93% -0.0561 0.1229)
OKLCHoklch(94.93% 0.135 114.5)
XYZxyz(73.1288, 87.4493, 37.4481)
Luminance0.8745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF98B #988BF9
analogous
#F9CF8B #ECF98B #B5F98B
triadic
#ECF98B #8BECF9 #F98BEC
tetradic
#ECF98B #8BF9CF #988BF9 #F98BB5
square
#ECF98B #8BF9CF #988BF9 #F98BB5
split-complementary
#ECF98B #8BB5F9 #CF8BF9
monochromatic
#D9F317 #E2F651 #ECF98B #F6FCC5 #FAFDE2

Accessibility & contrast

On white

1.14
#ECF98B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.49
#ECF98B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF98B
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF98B#FFFFFF#000000##000000
##ECF98B1.001.1418.4918.49
#FFFFFF1.141.0021.0021.00
#00000018.4921.001.001.00
##00000018.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF82
Deuteranopia (green-blind)
#FFF290
Tritanopia (blue-blind)
#F7EEDF
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ecf98b;
/* rgb */ color: rgb(236, 249, 139);
/* oklch */ color: oklch(94.9% 0.135 114.5);
Tailwind
colors: {
  custom: {
    50: '#f4fbaf',
    500: '#ecf98b',
    950: '#000000',
  },
}
SCSS
$custom: #ecf98b;
$custom-light: #f4fbaf;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf98b",
  "rgb": {
    "r": 236,
    "g": 249,
    "b": 139
  },
  "hsl": {
    "h": 67.091,
    "s": 90.164,
    "l": 76.078
  },
  "oklch": {
    "l": 0.94931,
    "c": 0.13512,
    "h": 114.5
  },
  "luminance": 0.87448
}

Semantic roles & 50–950 ramp

primary
#ECF98B
secondary
#6151D8
accent
#00E61B
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECF98B

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

Preview Lab → · Contrast checker → · Palette generator →

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