#EDEC98#EDEC98

#EDEC98 is a very light, moderate yellow. Relative luminance 0.803; OKLCH L 92.5% C 0.105 H 107.7°. Best body text is #000000 at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#EDEC98
RGBrgb(237, 236, 152)
HSLhsl(59, 70%, 76%)
HSVhsv(59, 36%, 93%)
CMYKcmyk(0%, 0.4%, 35.9%, 7.1%)
CIE-LABlab(91.80, -11.87, 40.89)
CIE-LCHlch(91.80, 42.58, 106.19°)
OKLaboklab(92.52% -0.0321 0.1004)
OKLCHoklch(92.52% 0.105 107.7)
XYZxyz(70.5888, 80.2638, 41.4736)
Luminance0.8026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDEC98 #9899ED
analogous
#EDC298 #EDEC98 #C4ED98
triadic
#EDEC98 #98EDEC #EC98ED
tetradic
#EDEC98 #98EDC2 #9899ED #ED98C4
square
#EDEC98 #98EDC2 #9899ED #ED98C4
split-complementary
#EDEC98 #98C4ED #C298ED
monochromatic
#DBD930 #E4E264 #EDEC98 #F6F6CC #FAFAE5

Accessibility & contrast

On white

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

On black

17.05
#EDEC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDEC98
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDEC98#FFFFFF#000000##000000
##EDEC981.001.2317.0517.05
#FFFFFF1.231.0021.0021.00
#00000017.0521.001.001.00
##00000017.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E692
Deuteranopia (green-blind)
#FBE99C
Tritanopia (blue-blind)
#F8E2D7
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #edec98;
/* rgb */ color: rgb(237, 236, 152);
/* oklch */ color: oklch(92.5% 0.105 107.7);
Tailwind
colors: {
  custom: {
    50: '#f4f2b7',
    500: '#edec98',
    950: '#000000',
  },
}
SCSS
$custom: #edec98;
$custom-light: #f4f2b7;
$custom-dark: #000000;
JSON
{
  "hex": "#edec98",
  "rgb": {
    "r": 237,
    "g": 236,
    "b": 152
  },
  "hsl": {
    "h": 59.294,
    "s": 70.248,
    "l": 76.275
  },
  "oklch": {
    "l": 0.92517,
    "c": 0.10539,
    "h": 107.7
  },
  "luminance": 0.80262
}

Semantic roles & 50–950 ramp

primary
#EDEC98
secondary
#6062C9
accent
#15D213
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #EDEC98

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

Preview Lab → · Contrast checker → · Palette generator →

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