#EBD99B#EBD99B

#EBD99B is a very light, moderate yellow. Relative luminance 0.697; OKLCH L 88.6% C 0.082 H 93.8°. Best body text is #000000 at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#EBD99B
RGBrgb(235, 217, 155)
HSLhsl(47, 67%, 76%)
HSVhsv(47, 34%, 92%)
CMYKcmyk(0%, 7.7%, 34%, 7.8%)
CIE-LABlab(86.83, -2.73, 32.84)
CIE-LCHlch(86.83, 32.95, 94.75°)
OKLaboklab(88.55% -0.0055 0.0818)
OKLCHoklch(88.55% 0.082 93.8)
XYZxyz(64.9912, 69.6564, 41.0255)
Luminance0.6965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD99B #9BADEB
analogous
#EBB19B #EBD99B #D5EB9B
triadic
#EBD99B #9BEBD9 #D99BEB
tetradic
#EBD99B #9BEBB1 #9BADEB #EB9BD5
square
#EBD99B #9BEBB1 #9BADEB #EB9BD5
split-complementary
#EBD99B #9BD5EB #B19BEB
monochromatic
#D7B235 #E1C668 #EBD99B #F5ECCE #FAF5E5

Accessibility & contrast

On white

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

On black

14.93
#EBD99B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD99B
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD99B#FFFFFF#000000##000000
##EBD99B1.001.4114.9314.93
#FFFFFF1.411.0021.0021.00
#00000014.9321.001.001.00
##00000014.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D697
Deuteranopia (green-blind)
#EBDC9D
Tritanopia (blue-blind)
#F7D0C9
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ebd99b;
/* rgb */ color: rgb(235, 217, 155);
/* oklch */ color: oklch(88.6% 0.082 93.8);
Tailwind
colors: {
  custom: {
    50: '#f2e4b9',
    500: '#ebd99b',
    950: '#000000',
  },
}
SCSS
$custom: #ebd99b;
$custom-light: #f2e4b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd99b",
  "rgb": {
    "r": 235,
    "g": 217,
    "b": 155
  },
  "hsl": {
    "h": 46.5,
    "s": 66.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.88554,
    "c": 0.08195,
    "h": 93.8
  },
  "luminance": 0.69654
}

Semantic roles & 50–950 ramp

primary
#EBD99B
secondary
#647AC7
accent
#40CF17
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #EBD99B

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

Preview Lab → · Contrast checker → · Palette generator →

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