#EDE98D#EDE98D

#EDE98D is a very light, moderate yellow. Relative luminance 0.782; OKLCH L 91.7% C 0.114 H 106.3°. Best body text is #000000 at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#EDE98D
RGBrgb(237, 233, 141)
HSLhsl(58, 73%, 74%)
HSVhsv(58, 41%, 93%)
CMYKcmyk(0%, 1.7%, 40.5%, 7.1%)
CIE-LABlab(90.87, -11.57, 45.13)
CIE-LCHlch(90.87, 46.59, 104.38°)
OKLaboklab(91.73% -0.032 0.1096)
OKLCHoklch(91.73% 0.114 106.3)
XYZxyz(68.8728, 78.2071, 36.6615)
Luminance0.7821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE98D #8D91ED
analogous
#EDB98D #EDE98D #C1ED8D
triadic
#EDE98D #8DEDE9 #E98DED
tetradic
#EDE98D #8DEDB9 #8D91ED #ED8DC1
square
#EDE98D #8DEDB9 #8D91ED #ED8DC1
split-complementary
#EDE98D #8DC1ED #B98DED
monochromatic
#DCD523 #E5DF58 #EDE98D #F5F3C2 #FBFAE5

Accessibility & contrast

On white

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

On black

16.64
#EDE98D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDE98D
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDE98D#FFFFFF#000000##000000
##EDE98D1.001.2616.6416.64
#FFFFFF1.261.0021.0021.00
#00000016.6421.001.001.00
##00000016.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E286
Deuteranopia (green-blind)
#FAE791
Tritanopia (blue-blind)
#FADED3
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ede98d;
/* rgb */ color: rgb(237, 233, 141);
/* oklch */ color: oklch(91.7% 0.114 106.3);
Tailwind
colors: {
  custom: {
    50: '#f4efaf',
    500: '#ede98d',
    950: '#000000',
  },
}
SCSS
$custom: #ede98d;
$custom-light: #f4efaf;
$custom-dark: #000000;
JSON
{
  "hex": "#ede98d",
  "rgb": {
    "r": 237,
    "g": 233,
    "b": 141
  },
  "hsl": {
    "h": 57.5,
    "s": 72.727,
    "l": 74.118
  },
  "oklch": {
    "l": 0.91729,
    "c": 0.11413,
    "h": 106.3
  },
  "luminance": 0.78205
}

Semantic roles & 50–950 ramp

primary
#EDE98D
secondary
#565BC8
accent
#19D511
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #EDE98D

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

Preview Lab → · Contrast checker → · Palette generator →

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