#EBE87A#EBE87A

#EBE87A is a very light, vivid yellow. Relative luminance 0.768; OKLCH L 91.1% C 0.133 H 107.4°. Best body text is #000000 at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#EBE87A
RGBrgb(235, 232, 122)
HSLhsl(58, 74%, 70%)
HSVhsv(58, 48%, 92%)
CMYKcmyk(0%, 1.3%, 48.1%, 7.8%)
CIE-LABlab(90.22, -13.68, 53.41)
CIE-LCHlch(90.22, 55.13, 104.37°)
OKLaboklab(91.1% -0.0396 0.1267)
OKLCHoklch(91.1% 0.133 107.4)
XYZxyz(66.6320, 76.7822, 29.7190)
Luminance0.7678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE87A #7A7DEB
analogous
#EBAF7A #EBE87A #B6EB7A
triadic
#EBE87A #7AEBE8 #E87AEB
tetradic
#EBE87A #7AEBAF #7A7DEB #EB7AB6
square
#EBE87A #7AEBAF #7A7DEB #EB7AB6
split-complementary
#EBE87A #7AB6EB #AF7AEB
monochromatic
#CCC71F #E3DF45 #EBE87A #F3F1AF #FBFAE4

Accessibility & contrast

On white

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

On black

16.36
#EBE87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE87A
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE87A#FFFFFF#000000##000000
##EBE87A1.001.2816.3616.36
#FFFFFF1.281.0021.0021.00
#00000016.3621.001.001.00
##00000016.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E070
Deuteranopia (green-blind)
#FAE57F
Tritanopia (blue-blind)
#F9DCCF
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ebe87a;
/* rgb */ color: rgb(235, 232, 122);
/* oklch */ color: oklch(91.1% 0.133 107.4);
Tailwind
colors: {
  custom: {
    50: '#f3efa3',
    500: '#ebe87a',
    950: '#000000',
  },
}
SCSS
$custom: #ebe87a;
$custom-light: #f3efa3;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe87a",
  "rgb": {
    "r": 235,
    "g": 232,
    "b": 122
  },
  "hsl": {
    "h": 58.407,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.91095,
    "c": 0.13276,
    "h": 107.4
  },
  "luminance": 0.76781
}

Semantic roles & 50–950 ramp

primary
#EBE87A
secondary
#4549C4
accent
#15D610
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #EBE87A

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

Preview Lab → · Contrast checker → · Palette generator →

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