#EBE381#EBE381

#EBE381 is a very light, vivid yellow. Relative luminance 0.742; OKLCH L 90.2% C 0.120 H 104.4°. Best body text is #000000 at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#EBE381
RGBrgb(235, 227, 129)
HSLhsl(55, 73%, 71%)
HSVhsv(55, 45%, 92%)
CMYKcmyk(0%, 3.4%, 45.1%, 7.8%)
CIE-LABlab(89.01, -10.55, 48.60)
CIE-LCHlch(89.01, 49.74, 102.25°)
OKLaboklab(90.16% -0.03 0.1166)
OKLCHoklch(90.16% 0.12 104.4)
XYZxyz(65.6940, 74.1872, 31.6236)
Luminance0.7419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE381 #8189EB
analogous
#EBAE81 #EBE381 #BEEB81
triadic
#EBE381 #81EBE3 #E381EB
tetradic
#EBE381 #81EBAE #8189EB #EB81BE
square
#EBE381 #81EBAE #8189EB #EB81BE
split-complementary
#EBE381 #81BEEB #AE81EB
monochromatic
#D1C321 #E3D74C #EBE381 #F3EFB6 #FBF9E5

Accessibility & contrast

On white

1.33
#EBE381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.84
#EBE381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE381
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE381#FFFFFF#000000##000000
##EBE3811.001.3315.8415.84
#FFFFFF1.331.0021.0021.00
#00000015.8421.001.001.00
##00000015.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DD79
Deuteranopia (green-blind)
#F5E285
Tritanopia (blue-blind)
#F9D7CC
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ebe381;
/* rgb */ color: rgb(235, 227, 129);
/* oklch */ color: oklch(90.2% 0.120 104.4);
Tailwind
colors: {
  custom: {
    50: '#f3eba7',
    500: '#ebe381',
    950: '#000000',
  },
}
SCSS
$custom: #ebe381;
$custom-light: #f3eba7;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe381",
  "rgb": {
    "r": 235,
    "g": 227,
    "b": 129
  },
  "hsl": {
    "h": 55.472,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.9016,
    "c": 0.12044,
    "h": 104.4
  },
  "luminance": 0.74185
}

Semantic roles & 50–950 ramp

primary
#EBE381
secondary
#4C55C5
accent
#20D511
background
#FFFEFC
surface
#FEFDF6
border
#D6D5D0
text
#171610
muted
#858480

Preview Lab

Preview with #EBE381

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

Preview Lab → · Contrast checker → · Palette generator →

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