#EBE89F#EBE89F

#EBE89F is a very light, moderate yellow. Relative luminance 0.779; OKLCH L 91.7% C 0.093 H 106.1°. Best body text is #000000 at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#EBE89F
RGBrgb(235, 232, 159)
HSLhsl(58, 66%, 77%)
HSVhsv(58, 32%, 92%)
CMYKcmyk(0%, 1.3%, 32.3%, 7.8%)
CIE-LABlab(90.73, -9.83, 35.95)
CIE-LCHlch(90.73, 37.27, 105.30°)
OKLaboklab(91.66% -0.0257 0.0892)
OKLCHoklch(91.66% 0.093 106.1)
XYZxyz(69.3762, 77.8799, 44.1719)
Luminance0.7788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE89F #9FA2EB
analogous
#EBC29F #EBE89F #C8EB9F
triadic
#EBE89F #9FEBE8 #E89FEB
tetradic
#EBE89F #9FEBC2 #9FA2EB #EB9FC8
square
#EBE89F #9FEBC2 #9FA2EB #EB9FC8
split-complementary
#EBE89F #9FC8EB #C29FEB
monochromatic
#D6D03A #E0DC6C #EBE89F #F6F4D2 #FAF9E6

Accessibility & contrast

On white

1.27
#EBE89F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.58
#EBE89F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE89F
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE89F#FFFFFF#000000##000000
##EBE89F1.001.2716.5816.58
#FFFFFF1.271.0021.0021.00
#00000016.5821.001.001.00
##00000016.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E29A
Deuteranopia (green-blind)
#F6E6A2
Tritanopia (blue-blind)
#F6DFD5
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ebe89f;
/* rgb */ color: rgb(235, 232, 159);
/* oklch */ color: oklch(91.7% 0.093 106.1);
Tailwind
colors: {
  custom: {
    50: '#f2efbc',
    500: '#ebe89f',
    950: '#000000',
  },
}
SCSS
$custom: #ebe89f;
$custom-light: #f2efbc;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe89f",
  "rgb": {
    "r": 235,
    "g": 232,
    "b": 159
  },
  "hsl": {
    "h": 57.632,
    "s": 65.517,
    "l": 77.255
  },
  "oklch": {
    "l": 0.91659,
    "c": 0.09284,
    "h": 106.1
  },
  "luminance": 0.77879
}

Semantic roles & 50–950 ramp

primary
#EBE89F
secondary
#676BC7
accent
#1FCD18
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171612
muted
#858582

Preview Lab

Preview with #EBE89F

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

Preview Lab → · Contrast checker → · Palette generator →

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