#EBE786#EBE786

#EBE786 is a very light, moderate yellow. Relative luminance 0.765; OKLCH L 91.1% C 0.120 H 106.5°. Best body text is #000000 at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#EBE786
RGBrgb(235, 231, 134)
HSLhsl(58, 72%, 72%)
HSVhsv(58, 43%, 92%)
CMYKcmyk(0%, 1.7%, 43%, 7.8%)
CIE-LABlab(90.11, -12.06, 47.54)
CIE-LCHlch(90.11, 49.05, 104.23°)
OKLaboklab(91.05% -0.0339 0.1146)
OKLCHoklch(91.05% 0.12 106.5)
XYZxyz(67.1412, 76.5369, 33.7859)
Luminance0.7653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE786 #868AEB
analogous
#EBB586 #EBE786 #BCEB86
triadic
#EBE786 #86EBE7 #E786EB
tetradic
#EBE786 #86EBB5 #868AEB #EB86BC
square
#EBE786 #86EBB5 #868AEB #EB86BC
split-complementary
#EBE786 #86BCEB #B586EB
monochromatic
#D4CD23 #E2DD51 #EBE786 #F4F1BB #FBFAE5

Accessibility & contrast

On white

1.29
#EBE786 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.31
#EBE786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE786
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE786#FFFFFF#000000##000000
##EBE7861.001.2916.3116.31
#FFFFFF1.291.0021.0021.00
#00000016.3121.001.001.00
##00000016.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E07E
Deuteranopia (green-blind)
#F8E58A
Tritanopia (blue-blind)
#F8DCD0
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ebe786;
/* rgb */ color: rgb(235, 231, 134);
/* oklch */ color: oklch(91.1% 0.120 106.5);
Tailwind
colors: {
  custom: {
    50: '#f3eeab',
    500: '#ebe786',
    950: '#000000',
  },
}
SCSS
$custom: #ebe786;
$custom-light: #f3eeab;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe786",
  "rgb": {
    "r": 235,
    "g": 231,
    "b": 134
  },
  "hsl": {
    "h": 57.624,
    "s": 71.631,
    "l": 72.353
  },
  "oklch": {
    "l": 0.91052,
    "c": 0.11951,
    "h": 106.5
  },
  "luminance": 0.76535
}

Semantic roles & 50–950 ramp

primary
#EBE786
secondary
#5055C5
accent
#19D412
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #EBE786

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

Preview Lab → · Contrast checker → · Palette generator →

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