#EDEF98#EDEF98

#EDEF98 is a very light, moderate yellow. Relative luminance 0.820; OKLCH L 93.1% C 0.109 H 109.5°. Best body text is #000000 at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#EDEF98
RGBrgb(237, 239, 152)
HSLhsl(61, 73%, 77%)
HSVhsv(61, 36%, 94%)
CMYKcmyk(0.8%, 0%, 36.4%, 6.3%)
CIE-LABlab(92.58, -13.36, 41.89)
CIE-LCHlch(92.58, 43.97, 107.68°)
OKLaboklab(93.13% -0.0363 0.1027)
OKLCHoklch(93.13% 0.109 109.5)
XYZxyz(71.4598, 82.0058, 41.7640)
Luminance0.8200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDEF98 #9A98EF
analogous
#EFC698 #EDEF98 #C2EF98
triadic
#EDEF98 #98EDEF #EF98ED
tetradic
#EDEF98 #98EFC6 #9A98EF #EF98C2
square
#EDEF98 #98EFC6 #9A98EF #EF98C2
split-complementary
#EDEF98 #98C2EF #C698EF
monochromatic
#DADF2E #E4E763 #EDEF98 #F6F7CD #FAFBE5

Accessibility & contrast

On white

1.21
#EDEF98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.40
#EDEF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDEF98
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDEF98#FFFFFF#000000##000000
##EDEF981.001.2117.4017.40
#FFFFFF1.211.0021.0021.00
#00000017.4021.001.001.00
##00000017.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE892
Deuteranopia (green-blind)
#FDEB9C
Tritanopia (blue-blind)
#F8E5D9
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #edef98;
/* rgb */ color: rgb(237, 239, 152);
/* oklch */ color: oklch(93.1% 0.109 109.5);
Tailwind
colors: {
  custom: {
    50: '#f4f4b7',
    500: '#edef98',
    950: '#000000',
  },
}
SCSS
$custom: #edef98;
$custom-light: #f4f4b7;
$custom-dark: #000000;
JSON
{
  "hex": "#edef98",
  "rgb": {
    "r": 237,
    "g": 239,
    "b": 152
  },
  "hsl": {
    "h": 61.379,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.93132,
    "c": 0.10892,
    "h": 109.5
  },
  "luminance": 0.82005
}

Semantic roles & 50–950 ramp

primary
#EDEF98
secondary
#6260CC
accent
#10D515
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #EDEF98

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

Preview Lab → · Contrast checker → · Palette generator →

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