#ECF598#ECF598

#ECF598 is a very light, moderate yellow. Relative luminance 0.854; OKLCH L 94.3% C 0.116 H 113.1°. Best body text is #000000 at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#ECF598
RGBrgb(236, 245, 152)
HSLhsl(66, 82%, 78%)
HSVhsv(66, 38%, 96%)
CMYKcmyk(3.7%, 0%, 38%, 3.9%)
CIE-LABlab(94.06, -16.68, 43.77)
CIE-LCHlch(94.06, 46.84, 110.86°)
OKLaboklab(94.29% -0.0457 0.107)
OKLCHoklch(94.29% 0.116 113.1)
XYZxyz(72.9126, 85.4056, 42.3436)
Luminance0.8540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF598 #A198F5
analogous
#F5CF98 #ECF598 #BEF598
triadic
#ECF598 #98ECF5 #F598EC
tetradic
#ECF598 #98F5CF #A198F5 #F598BE
square
#ECF598 #98F5CF #A198F5 #F598BE
split-complementary
#ECF598 #98BEF5 #CF98F5
monochromatic
#D7EA28 #E2F060 #ECF598 #F6FAD0 #FAFCE3

Accessibility & contrast

On white

1.16
#ECF598 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.08
#ECF598 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF598
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF598#FFFFFF#000000##000000
##ECF5981.001.1618.0818.08
#FFFFFF1.161.0021.0021.00
#00000018.0821.001.001.00
##00000018.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED91
Deuteranopia (green-blind)
#FFEF9C
Tritanopia (blue-blind)
#F7EBDE
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ecf598;
/* rgb */ color: rgb(236, 245, 152);
/* oklch */ color: oklch(94.3% 0.116 113.1);
Tailwind
colors: {
  custom: {
    50: '#f3f8b7',
    500: '#ecf598',
    950: '#000000',
  },
}
SCSS
$custom: #ecf598;
$custom-light: #f3f8b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf598",
  "rgb": {
    "r": 236,
    "g": 245,
    "b": 152
  },
  "hsl": {
    "h": 65.806,
    "s": 82.301,
    "l": 77.843
  },
  "oklch": {
    "l": 0.94292,
    "c": 0.11638,
    "h": 113.1
  },
  "luminance": 0.85405
}

Semantic roles & 50–950 ramp

primary
#ECF598
secondary
#695ED4
accent
#07DF1C
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF598

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

Preview Lab → · Contrast checker → · Palette generator →

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