#EBE99D#EBE99D

#EBE99D is a very light, moderate yellow. Relative luminance 0.784; OKLCH L 91.8% C 0.096 H 106.9°. Best body text is #000000 at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#EBE99D
RGBrgb(235, 233, 157)
HSLhsl(58, 66%, 77%)
HSVhsv(58, 33%, 92%)
CMYKcmyk(0%, 0.9%, 33.2%, 7.8%)
CIE-LABlab(90.95, -10.57, 37.26)
CIE-LCHlch(90.95, 38.73, 105.84°)
OKLaboklab(91.83% -0.0279 0.0922)
OKLCHoklch(91.83% 0.096 106.9)
XYZxyz(69.4863, 78.3756, 43.3593)
Luminance0.7837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE99D #9D9FEB
analogous
#EBC29D #EBE99D #C6EB9D
triadic
#EBE99D #9DEBE9 #E99DEB
tetradic
#EBE99D #9DEBC2 #9D9FEB #EB9DC6
square
#EBE99D #9DEBC2 #9D9FEB #EB9DC6
split-complementary
#EBE99D #9DC6EB #C29DEB
monochromatic
#D6D237 #E1DE6A #EBE99D #F5F4D0 #FAF9E6

Accessibility & contrast

On white

1.26
#EBE99D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.67
#EBE99D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE99D
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE99D#FFFFFF#000000##000000
##EBE99D1.001.2616.6716.67
#FFFFFF1.261.0021.0021.00
#00000016.6721.001.001.00
##00000016.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E398
Deuteranopia (green-blind)
#F7E7A0
Tritanopia (blue-blind)
#F6E0D6
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ebe99d;
/* rgb */ color: rgb(235, 233, 157);
/* oklch */ color: oklch(91.8% 0.096 106.9);
Tailwind
colors: {
  custom: {
    50: '#f2efba',
    500: '#ebe99d',
    950: '#000000',
  },
}
SCSS
$custom: #ebe99d;
$custom-light: #f2efba;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe99d",
  "rgb": {
    "r": 235,
    "g": 233,
    "b": 157
  },
  "hsl": {
    "h": 58.462,
    "s": 66.102,
    "l": 76.863
  },
  "oklch": {
    "l": 0.91828,
    "c": 0.09632,
    "h": 106.9
  },
  "luminance": 0.78374
}

Semantic roles & 50–950 ramp

primary
#EBE99D
secondary
#6668C7
accent
#1CCE18
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171612
muted
#858582

Preview Lab

Preview with #EBE99D

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

Preview Lab → · Contrast checker → · Palette generator →

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