#EBDF98#EBDF98

#EBDF98 is a very light, moderate yellow. Relative luminance 0.727; OKLCH L 89.7% C 0.091 H 99.8°. Best body text is #000000 at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#EBDF98
RGBrgb(235, 223, 152)
HSLhsl(51, 67%, 76%)
HSVhsv(51, 35%, 92%)
CMYKcmyk(0%, 5.1%, 35.3%, 7.8%)
CIE-LABlab(88.31, -6.13, 36.31)
CIE-LCHlch(88.31, 36.83, 99.58°)
OKLaboklab(89.71% -0.0155 0.0898)
OKLCHoklch(89.71% 0.091 99.8)
XYZxyz(66.3171, 72.7063, 40.2400)
Luminance0.7270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBDF98 #98A4EB
analogous
#EBB598 #EBDF98 #CDEB98
triadic
#EBDF98 #98EBDF #DF98EB
tetradic
#EBDF98 #98EBB5 #98A4EB #EB98CD
square
#EBDF98 #98EBB5 #98A4EB #EB98CD
split-complementary
#EBDF98 #98CDEB #B598EB
monochromatic
#D7BF32 #E1CF65 #EBDF98 #F5EFCB #FAF7E5

Accessibility & contrast

On white

1.35
#EBDF98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.54
#EBDF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBDF98
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBDF98#FFFFFF#000000##000000
##EBDF981.001.3515.5415.54
#FFFFFF1.351.0021.0021.00
#00000015.5421.001.001.00
##00000015.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECDB93
Deuteranopia (green-blind)
#F0E09B
Tritanopia (blue-blind)
#F7D5CD
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #ebdf98;
/* rgb */ color: rgb(235, 223, 152);
/* oklch */ color: oklch(89.7% 0.091 99.8);
Tailwind
colors: {
  custom: {
    50: '#f2e8b7',
    500: '#ebdf98',
    950: '#000000',
  },
}
SCSS
$custom: #ebdf98;
$custom-light: #f2e8b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ebdf98",
  "rgb": {
    "r": 235,
    "g": 223,
    "b": 152
  },
  "hsl": {
    "h": 51.325,
    "s": 67.48,
    "l": 75.882
  },
  "oklch": {
    "l": 0.89708,
    "c": 0.09114,
    "h": 99.8
  },
  "luminance": 0.72705
}

Semantic roles & 50–950 ramp

primary
#EBDF98
secondary
#6170C6
accent
#31CF16
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #EBDF98

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

Preview Lab → · Contrast checker → · Palette generator →

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