#EDE98F#EDE98F

#EDE98F is a very light, moderate yellow. Relative luminance 0.783; OKLCH L 91.8% C 0.112 H 106.2°. Best body text is #000000 at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#EDE98F
RGBrgb(237, 233, 143)
HSLhsl(57, 72%, 75%)
HSVhsv(57, 40%, 93%)
CMYKcmyk(0%, 1.7%, 39.7%, 7.1%)
CIE-LABlab(90.90, -11.36, 44.18)
CIE-LCHlch(90.90, 45.62, 104.42°)
OKLaboklab(91.76% -0.0312 0.1075)
OKLCHoklch(91.76% 0.112 106.2)
XYZxyz(69.0230, 78.2671, 37.4524)
Luminance0.7827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE98F #8F93ED
analogous
#EDBA8F #EDE98F #C2ED8F
triadic
#EDE98F #8FEDE9 #E98FED
tetradic
#EDE98F #8FEDBA #8F93ED #ED8FC2
square
#EDE98F #8FEDBA #8F93ED #ED8FC2
split-complementary
#EDE98F #8FC2ED #BA8FED
monochromatic
#DCD426 #E5DF5A #EDE98F #F5F3C4 #FBFAE5

Accessibility & contrast

On white

1.26
#EDE98F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.65
#EDE98F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDE98F
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDE98F#FFFFFF#000000##000000
##EDE98F1.001.2616.6516.65
#FFFFFF1.261.0021.0021.00
#00000016.6521.001.001.00
##00000016.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E388
Deuteranopia (green-blind)
#F9E793
Tritanopia (blue-blind)
#F9DED3
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ede98f;
/* rgb */ color: rgb(237, 233, 143);
/* oklch */ color: oklch(91.8% 0.112 106.2);
Tailwind
colors: {
  custom: {
    50: '#f4efb1',
    500: '#ede98f',
    950: '#000000',
  },
}
SCSS
$custom: #ede98f;
$custom-light: #f4efb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ede98f",
  "rgb": {
    "r": 237,
    "g": 233,
    "b": 143
  },
  "hsl": {
    "h": 57.447,
    "s": 72.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.9176,
    "c": 0.11195,
    "h": 106.2
  },
  "luminance": 0.78266
}

Semantic roles & 50–950 ramp

primary
#EDE98F
secondary
#585DC8
accent
#19D411
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171611
muted
#858581

Preview Lab

Preview with #EDE98F

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

Preview Lab → · Contrast checker → · Palette generator →

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