#EBDA98#EBDA98

#EBDA98 is a very light, moderate yellow. Relative luminance 0.701; OKLCH L 88.7% C 0.086 H 95.4°. Best body text is #000000 at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#EBDA98
RGBrgb(235, 218, 152)
HSLhsl(48, 67%, 76%)
HSVhsv(48, 35%, 92%)
CMYKcmyk(0%, 7.2%, 35.3%, 7.8%)
CIE-LABlab(87.03, -3.59, 34.64)
CIE-LCHlch(87.03, 34.83, 95.92°)
OKLaboklab(88.7% -0.0081 0.0859)
OKLCHoklch(88.7% 0.086 95.4)
XYZxyz(65.0009, 70.0739, 39.8013)
Luminance0.7007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBDA98 #98A9EB
analogous
#EBB098 #EBDA98 #D2EB98
triadic
#EBDA98 #98EBDA #DA98EB
tetradic
#EBDA98 #98EBB0 #98A9EB #EB98D2
square
#EBDA98 #98EBB0 #98A9EB #EB98D2
split-complementary
#EBDA98 #98D2EB #B098EB
monochromatic
#D7B532 #E1C865 #EBDA98 #F5ECCB #FAF6E5

Accessibility & contrast

On white

1.40
#EBDA98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.01
#EBDA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBDA98
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBDA98#FFFFFF#000000##000000
##EBDA981.001.4015.0115.01
#FFFFFF1.401.0021.0021.00
#00000015.0121.001.001.00
##00000015.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D793
Deuteranopia (green-blind)
#ECDC9A
Tritanopia (blue-blind)
#F7D0C9
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #ebda98;
/* rgb */ color: rgb(235, 218, 152);
/* oklch */ color: oklch(88.7% 0.086 95.4);
Tailwind
colors: {
  custom: {
    50: '#f2e5b7',
    500: '#ebda98',
    950: '#000000',
  },
}
SCSS
$custom: #ebda98;
$custom-light: #f2e5b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ebda98",
  "rgb": {
    "r": 235,
    "g": 218,
    "b": 152
  },
  "hsl": {
    "h": 47.711,
    "s": 67.48,
    "l": 75.882
  },
  "oklch": {
    "l": 0.887,
    "c": 0.08631,
    "h": 95.4
  },
  "luminance": 0.70072
}

Semantic roles & 50–950 ramp

primary
#EBDA98
secondary
#6176C6
accent
#3CCF16
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #EBDA98

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

Preview Lab → · Contrast checker → · Palette generator →

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