#EBD99F#EBD99F

#EBD99F is a very light, moderate yellow. Relative luminance 0.698; OKLCH L 88.6% C 0.077 H 92.9°. Best body text is #000000 at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#EBD99F
RGBrgb(235, 217, 159)
HSLhsl(46, 66%, 77%)
HSVhsv(46, 32%, 92%)
CMYKcmyk(0%, 7.7%, 32.3%, 7.8%)
CIE-LABlab(86.90, -2.25, 30.87)
CIE-LCHlch(86.90, 30.95, 94.16°)
OKLaboklab(88.63% -0.0039 0.0772)
OKLCHoklch(88.63% 0.077 92.9)
XYZxyz(65.3327, 69.7930, 42.8240)
Luminance0.6979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD99F #9FB1EB
analogous
#EBB39F #EBD99F #D7EB9F
triadic
#EBD99F #9FEBD9 #D99FEB
tetradic
#EBD99F #9FEBB3 #9FB1EB #EB9FD7
square
#EBD99F #9FEBB3 #9FB1EB #EB9FD7
split-complementary
#EBD99F #9FD7EB #B39FEB
monochromatic
#D6B13A #E0C56C #EBD99F #F6EDD2 #FAF5E6

Accessibility & contrast

On white

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

On black

14.96
#EBD99F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD99F
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD99F#FFFFFF#000000##000000
##EBD99F1.001.4014.9614.96
#FFFFFF1.401.0021.0021.00
#00000014.9621.001.001.00
##00000014.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D69B
Deuteranopia (green-blind)
#EADCA1
Tritanopia (blue-blind)
#F7D0CA
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #ebd99f;
/* rgb */ color: rgb(235, 217, 159);
/* oklch */ color: oklch(88.6% 0.077 92.9);
Tailwind
colors: {
  custom: {
    50: '#f2e4bb',
    500: '#ebd99f',
    950: '#000000',
  },
}
SCSS
$custom: #ebd99f;
$custom-light: #f2e4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd99f",
  "rgb": {
    "r": 235,
    "g": 217,
    "b": 159
  },
  "hsl": {
    "h": 45.789,
    "s": 65.517,
    "l": 77.255
  },
  "oklch": {
    "l": 0.88629,
    "c": 0.07733,
    "h": 92.9
  },
  "luminance": 0.69791
}

Semantic roles & 50–950 ramp

primary
#EBD99F
secondary
#677EC7
accent
#43CD18
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171512
muted
#858482

Preview Lab

Preview with #EBD99F

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

Preview Lab → · Contrast checker → · Palette generator →

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