#EBE79B#EBE79B

#EBE79B is a very light, moderate yellow. Relative luminance 0.772; OKLCH L 91.4% C 0.096 H 105.6°. Best body text is #000000 at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#EBE79B
RGBrgb(235, 231, 155)
HSLhsl(57, 67%, 76%)
HSVhsv(57, 34%, 92%)
CMYKcmyk(0%, 1.7%, 34%, 7.8%)
CIE-LABlab(90.41, -9.81, 37.55)
CIE-LCHlch(90.41, 38.81, 104.64°)
OKLaboklab(91.39% -0.0259 0.0928)
OKLCHoklch(91.39% 0.096 105.6)
XYZxyz(68.7540, 77.1820, 42.2798)
Luminance0.7718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE79B #9B9FEB
analogous
#EBBF9B #EBE79B #C7EB9B
triadic
#EBE79B #9BEBE7 #E79BEB
tetradic
#EBE79B #9BEBBF #9B9FEB #EB9BC7
square
#EBE79B #9BEBBF #9B9FEB #EB9BC7
split-complementary
#EBE79B #9BC7EB #BF9BEB
monochromatic
#D7CF35 #E1DB68 #EBE79B #F5F3CE #FAF9E5

Accessibility & contrast

On white

1.28
#EBE79B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.44
#EBE79B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE79B
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE79B#FFFFFF#000000##000000
##EBE79B1.001.2816.4416.44
#FFFFFF1.281.0021.0021.00
#00000016.4421.001.001.00
##00000016.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E196
Deuteranopia (green-blind)
#F6E59E
Tritanopia (blue-blind)
#F6DED4
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ebe79b;
/* rgb */ color: rgb(235, 231, 155);
/* oklch */ color: oklch(91.4% 0.096 105.6);
Tailwind
colors: {
  custom: {
    50: '#f2eeb9',
    500: '#ebe79b',
    950: '#000000',
  },
}
SCSS
$custom: #ebe79b;
$custom-light: #f2eeb9;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe79b",
  "rgb": {
    "r": 235,
    "g": 231,
    "b": 155
  },
  "hsl": {
    "h": 57,
    "s": 66.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.91385,
    "c": 0.09633,
    "h": 105.6
  },
  "luminance": 0.77181
}

Semantic roles & 50–950 ramp

primary
#EBE79B
secondary
#6469C7
accent
#20CF17
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #EBE79B

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

Preview Lab → · Contrast checker → · Palette generator →

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