#EBDB98#EBDB98

#EBDB98 is a very light, moderate yellow. Relative luminance 0.706; OKLCH L 88.9% C 0.087 H 96.3°. Best body text is #000000 at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#EBDB98
RGBrgb(235, 219, 152)
HSLhsl(48, 67%, 76%)
HSVhsv(48, 35%, 92%)
CMYKcmyk(0%, 6.8%, 35.3%, 7.8%)
CIE-LABlab(87.29, -4.10, 34.98)
CIE-LCHlch(87.29, 35.22, 96.69°)
OKLaboklab(88.9% -0.0096 0.0867)
OKLCHoklch(88.9% 0.087 96.3)
XYZxyz(65.2610, 70.5941, 39.8880)
Luminance0.7059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBDB98 #98A8EB
analogous
#EBB198 #EBDB98 #D1EB98
triadic
#EBDB98 #98EBDB #DB98EB
tetradic
#EBDB98 #98EBB1 #98A8EB #EB98D1
square
#EBDB98 #98EBB1 #98A8EB #EB98D1
split-complementary
#EBDB98 #98D1EB #B198EB
monochromatic
#D7B732 #E1C965 #EBDB98 #F5EDCB #FAF6E5

Accessibility & contrast

On white

1.39
#EBDB98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.12
#EBDB98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBDB98
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBDB98#FFFFFF#000000##000000
##EBDB981.001.3915.1215.12
#FFFFFF1.391.0021.0021.00
#00000015.1221.001.001.00
##00000015.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D893
Deuteranopia (green-blind)
#EDDD9A
Tritanopia (blue-blind)
#F7D1CA
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ebdb98;
/* rgb */ color: rgb(235, 219, 152);
/* oklch */ color: oklch(88.9% 0.087 96.3);
Tailwind
colors: {
  custom: {
    50: '#f2e6b7',
    500: '#ebdb98',
    950: '#000000',
  },
}
SCSS
$custom: #ebdb98;
$custom-light: #f2e6b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ebdb98",
  "rgb": {
    "r": 235,
    "g": 219,
    "b": 152
  },
  "hsl": {
    "h": 48.434,
    "s": 67.48,
    "l": 75.882
  },
  "oklch": {
    "l": 0.88901,
    "c": 0.08723,
    "h": 96.3
  },
  "luminance": 0.70592
}

Semantic roles & 50–950 ramp

primary
#EBDB98
secondary
#6174C6
accent
#3ACF16
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #EBDB98

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

Preview Lab → · Contrast checker → · Palette generator →

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