#EBE186#EBE186

#EBE186 is a very light, moderate yellow. Relative luminance 0.732; OKLCH L 89.8% C 0.113 H 102.9°. Best body text is #000000 at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#EBE186
RGBrgb(235, 225, 134)
HSLhsl(54, 72%, 72%)
HSVhsv(54, 43%, 92%)
CMYKcmyk(0%, 4.3%, 43%, 7.8%)
CIE-LABlab(88.56, -9.07, 45.61)
CIE-LCHlch(88.56, 46.51, 101.24°)
OKLaboklab(89.82% -0.0253 0.1103)
OKLCHoklch(89.82% 0.113 102.9)
XYZxyz(65.4906, 73.2357, 33.2357)
Luminance0.7323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE186 #8690EB
analogous
#EBAE86 #EBE186 #C3EB86
triadic
#EBE186 #86EBE1 #E186EB
tetradic
#EBE186 #86EBAE #8690EB #EB86C3
square
#EBE186 #86EBAE #8690EB #EB86C3
split-complementary
#EBE186 #86C3EB #AE86EB
monochromatic
#D4C223 #E2D451 #EBE186 #F4EEBB #FBF8E5

Accessibility & contrast

On white

1.34
#EBE186 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.65
#EBE186 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE186
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE186#FFFFFF#000000##000000
##EBE1861.001.3415.6515.65
#FFFFFF1.341.0021.0021.00
#00000015.6521.001.001.00
##00000015.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DB7F
Deuteranopia (green-blind)
#F3E18A
Tritanopia (blue-blind)
#F8D6CB
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #ebe186;
/* rgb */ color: rgb(235, 225, 134);
/* oklch */ color: oklch(89.8% 0.113 102.9);
Tailwind
colors: {
  custom: {
    50: '#f3eaaa',
    500: '#ebe186',
    950: '#000000',
  },
}
SCSS
$custom: #ebe186;
$custom-light: #f3eaaa;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe186",
  "rgb": {
    "r": 235,
    "g": 225,
    "b": 134
  },
  "hsl": {
    "h": 54.059,
    "s": 71.631,
    "l": 72.353
  },
  "oklch": {
    "l": 0.89823,
    "c": 0.11313,
    "h": 102.9
  },
  "luminance": 0.73234
}

Semantic roles & 50–950 ramp

primary
#EBE186
secondary
#505CC5
accent
#25D412
background
#FFFEFD
surface
#FEFDF7
border
#D6D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #EBE186

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

Preview Lab → · Contrast checker → · Palette generator →

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