#ECED98#ECED98

#ECED98 is a very light, moderate yellow. Relative luminance 0.807; OKLCH L 92.6% C 0.107 H 108.9°. Best body text is #000000 at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#ECED98
RGBrgb(236, 237, 152)
HSLhsl(61, 70%, 76%)
HSVhsv(61, 36%, 93%)
CMYKcmyk(0.4%, 0%, 35.9%, 7.1%)
CIE-LABlab(91.98, -12.75, 41.11)
CIE-LCHlch(91.98, 43.04, 107.23°)
OKLaboklab(92.64% -0.0345 0.1009)
OKLCHoklch(92.64% 0.107 108.9)
XYZxyz(70.5445, 80.6695, 41.5543)
Luminance0.8067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECED98 #9998ED
analogous
#EDC498 #ECED98 #C2ED98
triadic
#ECED98 #98ECED #ED98EC
tetradic
#ECED98 #98EDC4 #9998ED #ED98C2
square
#ECED98 #98EDC4 #9998ED #ED98C2
split-complementary
#ECED98 #98C2ED #C498ED
monochromatic
#D9DB30 #E2E464 #ECED98 #F6F6CC #FAFAE5

Accessibility & contrast

On white

1.23
#ECED98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.13
#ECED98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECED98
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECED98#FFFFFF#000000##000000
##ECED981.001.2317.1317.13
#FFFFFF1.231.0021.0021.00
#00000017.1321.001.001.00
##00000017.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE692
Deuteranopia (green-blind)
#FBEA9C
Tritanopia (blue-blind)
#F7E3D8
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #eced98;
/* rgb */ color: rgb(236, 237, 152);
/* oklch */ color: oklch(92.6% 0.107 108.9);
Tailwind
colors: {
  custom: {
    50: '#f3f2b7',
    500: '#eced98',
    950: '#000000',
  },
}
SCSS
$custom: #eced98;
$custom-light: #f3f2b7;
$custom-dark: #000000;
JSON
{
  "hex": "#eced98",
  "rgb": {
    "r": 236,
    "g": 237,
    "b": 152
  },
  "hsl": {
    "h": 60.706,
    "s": 70.248,
    "l": 76.275
  },
  "oklch": {
    "l": 0.92642,
    "c": 0.10665,
    "h": 108.9
  },
  "luminance": 0.80668
}

Semantic roles & 50–950 ramp

primary
#ECED98
secondary
#6260C9
accent
#13D215
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECED98

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

Preview Lab → · Contrast checker → · Palette generator →

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