#EBDC98#EBDC98

#EBDC98 is a very light, moderate yellow. Relative luminance 0.711; OKLCH L 89.1% C 0.088 H 97.2°. Best body text is #000000 at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#EBDC98
RGBrgb(235, 220, 152)
HSLhsl(49, 67%, 76%)
HSVhsv(49, 35%, 92%)
CMYKcmyk(0%, 6.4%, 35.3%, 7.8%)
CIE-LABlab(87.54, -4.61, 35.31)
CIE-LCHlch(87.54, 35.61, 97.44°)
OKLaboklab(89.1% -0.0111 0.0875)
OKLCHoklch(89.1% 0.088 97.2)
XYZxyz(65.5227, 71.1174, 39.9752)
Luminance0.7112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBDC98 #98A7EB
analogous
#EBB298 #EBDC98 #D0EB98
triadic
#EBDC98 #98EBDC #DC98EB
tetradic
#EBDC98 #98EBB2 #98A7EB #EB98D0
square
#EBDC98 #98EBB2 #98A7EB #EB98D0
split-complementary
#EBDC98 #98D0EB #B298EB
monochromatic
#D7B932 #E1CB65 #EBDC98 #F5EDCB #FAF6E5

Accessibility & contrast

On white

1.38
#EBDC98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.22
#EBDC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBDC98
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBDC98#FFFFFF#000000##000000
##EBDC981.001.3815.2215.22
#FFFFFF1.381.0021.0021.00
#00000015.2221.001.001.00
##00000015.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D893
Deuteranopia (green-blind)
#EDDE9A
Tritanopia (blue-blind)
#F7D2CB
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ebdc98;
/* rgb */ color: rgb(235, 220, 152);
/* oklch */ color: oklch(89.1% 0.088 97.2);
Tailwind
colors: {
  custom: {
    50: '#f2e6b7',
    500: '#ebdc98',
    950: '#000000',
  },
}
SCSS
$custom: #ebdc98;
$custom-light: #f2e6b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ebdc98",
  "rgb": {
    "r": 235,
    "g": 220,
    "b": 152
  },
  "hsl": {
    "h": 49.157,
    "s": 67.48,
    "l": 75.882
  },
  "oklch": {
    "l": 0.89102,
    "c": 0.08818,
    "h": 97.2
  },
  "luminance": 0.71116
}

Semantic roles & 50–950 ramp

primary
#EBDC98
secondary
#6173C6
accent
#38CF16
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #EBDC98

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

Preview Lab → · Contrast checker → · Palette generator →

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