#EBE181#EBE181

#EBE181 is a very light, moderate yellow. Relative luminance 0.731; OKLCH L 89.8% C 0.118 H 103.3°. Best body text is #000000 at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#EBE181
RGBrgb(235, 225, 129)
HSLhsl(54, 73%, 71%)
HSVhsv(54, 45%, 92%)
CMYKcmyk(0%, 4.3%, 45.1%, 7.8%)
CIE-LABlab(88.50, -9.56, 47.97)
CIE-LCHlch(88.50, 48.91, 101.27°)
OKLaboklab(89.75% -0.0271 0.1152)
OKLCHoklch(89.75% 0.118 103.3)
XYZxyz(65.1501, 73.0995, 31.4423)
Luminance0.7310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE181 #818BEB
analogous
#EBAC81 #EBE181 #C0EB81
triadic
#EBE181 #81EBE1 #E181EB
tetradic
#EBE181 #81EBAC #818BEB #EB81C0
square
#EBE181 #81EBAC #818BEB #EB81C0
split-complementary
#EBE181 #81C0EB #AC81EB
monochromatic
#D1C021 #E3D44C #EBE181 #F3EEB6 #FBF9E5

Accessibility & contrast

On white

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

On black

15.62
#EBE181 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE181
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE181#FFFFFF#000000##000000
##EBE1811.001.3415.6215.62
#FFFFFF1.341.0021.0021.00
#00000015.6221.001.001.00
##00000015.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DB79
Deuteranopia (green-blind)
#F4E185
Tritanopia (blue-blind)
#F9D5CA
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #ebe181;
/* rgb */ color: rgb(235, 225, 129);
/* oklch */ color: oklch(89.8% 0.118 103.3);
Tailwind
colors: {
  custom: {
    50: '#f3eaa7',
    500: '#ebe181',
    950: '#000000',
  },
}
SCSS
$custom: #ebe181;
$custom-light: #f3eaa7;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe181",
  "rgb": {
    "r": 235,
    "g": 225,
    "b": 129
  },
  "hsl": {
    "h": 54.34,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.8975,
    "c": 0.11837,
    "h": 103.3
  },
  "luminance": 0.73098
}

Semantic roles & 50–950 ramp

primary
#EBE181
secondary
#4C57C5
accent
#23D511
background
#FFFEFC
surface
#FEFDF6
border
#D6D5D0
text
#171610
muted
#858480

Preview Lab

Preview with #EBE181

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

Preview Lab → · Contrast checker → · Palette generator →

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