#EBD89F#EBD89F

#EBD89F is a very light, moderate yellow. Relative luminance 0.693; OKLCH L 88.4% C 0.076 H 91.8°. Best body text is #000000 at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#EBD89F
RGBrgb(235, 216, 159)
HSLhsl(45, 66%, 77%)
HSVhsv(45, 32%, 92%)
CMYKcmyk(0%, 8.1%, 32.3%, 7.8%)
CIE-LABlab(86.64, -1.74, 30.53)
CIE-LCHlch(86.64, 30.58, 93.25°)
OKLaboklab(88.43% -0.0024 0.0764)
OKLCHoklch(88.43% 0.076 91.8)
XYZxyz(65.0757, 69.2790, 42.7384)
Luminance0.6928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD89F #9FB2EB
analogous
#EBB29F #EBD89F #D8EB9F
triadic
#EBD89F #9FEBD8 #D89FEB
tetradic
#EBD89F #9FEBB2 #9FB2EB #EB9FD8
square
#EBD89F #9FEBB2 #9FB2EB #EB9FD8
split-complementary
#EBD89F #9FD8EB #B29FEB
monochromatic
#D6AF3A #E0C36C #EBD89F #F6EDD2 #FAF5E6

Accessibility & contrast

On white

1.41
#EBD89F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.86
#EBD89F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD89F
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD89F#FFFFFF#000000##000000
##EBD89F1.001.4114.8614.86
#FFFFFF1.411.0021.0021.00
#00000014.8621.001.001.00
##00000014.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D69B
Deuteranopia (green-blind)
#E9DBA1
Tritanopia (blue-blind)
#F7CFC9
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ebd89f;
/* rgb */ color: rgb(235, 216, 159);
/* oklch */ color: oklch(88.4% 0.076 91.8);
Tailwind
colors: {
  custom: {
    50: '#f2e3bb',
    500: '#ebd89f',
    950: '#000000',
  },
}
SCSS
$custom: #ebd89f;
$custom-light: #f2e3bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd89f",
  "rgb": {
    "r": 235,
    "g": 216,
    "b": 159
  },
  "hsl": {
    "h": 45,
    "s": 65.517,
    "l": 77.255
  },
  "oklch": {
    "l": 0.88429,
    "c": 0.07647,
    "h": 91.8
  },
  "luminance": 0.69277
}

Semantic roles & 50–950 ramp

primary
#EBD89F
secondary
#677FC7
accent
#45CD18
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171512
muted
#858482

Preview Lab

Preview with #EBD89F

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

Preview Lab → · Contrast checker → · Palette generator →

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