#EBE87B#EBE87B

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

Color values

HEX#EBE87B
RGBrgb(235, 232, 123)
HSLhsl(58, 74%, 70%)
HSVhsv(58, 48%, 92%)
CMYKcmyk(0%, 1.3%, 47.7%, 7.8%)
CIE-LABlab(90.23, -13.59, 52.95)
CIE-LCHlch(90.23, 54.67, 104.39°)
OKLaboklab(91.11% -0.0393 0.1258)
OKLCHoklch(91.11% 0.132 107.3)
XYZxyz(66.6942, 76.8072, 30.0470)
Luminance0.7681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE87B #7B7EEB
analogous
#EBB07B #EBE87B #B6EB7B
triadic
#EBE87B #7BEBE8 #E87BEB
tetradic
#EBE87B #7BEBB0 #7B7EEB #EB7BB6
square
#EBE87B #7BEBB0 #7B7EEB #EB7BB6
split-complementary
#EBE87B #7BB6EB #B07BEB
monochromatic
#CDC81F #E3DF46 #EBE87B #F3F1B0 #FBFAE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBE87B#FFFFFF#000000##000000
##EBE87B1.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)
#F8E171
Deuteranopia (green-blind)
#FAE580
Tritanopia (blue-blind)
#F9DCCF
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ebe87b;
/* rgb */ color: rgb(235, 232, 123);
/* oklch */ color: oklch(91.1% 0.132 107.3);
Tailwind
colors: {
  custom: {
    50: '#f3efa3',
    500: '#ebe87b',
    950: '#000000',
  },
}
SCSS
$custom: #ebe87b;
$custom-light: #f3efa3;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe87b",
  "rgb": {
    "r": 235,
    "g": 232,
    "b": 123
  },
  "hsl": {
    "h": 58.393,
    "s": 73.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.91107,
    "c": 0.13179,
    "h": 107.3
  },
  "luminance": 0.76805
}

Semantic roles & 50–950 ramp

primary
#EBE87B
secondary
#464AC4
accent
#15D610
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #EBE87B

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

Preview Lab → · Contrast checker → · Palette generator →

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