#EBD581#EBD581

#EBD581 is a very light, moderate yellow. Relative luminance 0.668; OKLCH L 87.3% C 0.107 H 95.2°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#EBD581
RGBrgb(235, 213, 129)
HSLhsl(48, 73%, 71%)
HSVhsv(48, 45%, 92%)
CMYKcmyk(0%, 9.4%, 45.1%, 7.8%)
CIE-LABlab(85.42, -3.49, 44.15)
CIE-LCHlch(85.42, 44.29, 94.52°)
OKLaboklab(87.32% -0.0096 0.1067)
OKLCHoklch(87.32% 0.107 95.2)
XYZxyz(62.0194, 66.8380, 30.3988)
Luminance0.6684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD581 #8197EB
analogous
#EBA081 #EBD581 #CCEB81
triadic
#EBD581 #81EBD5 #D581EB
tetradic
#EBD581 #81EBA0 #8197EB #EB81CC
square
#EBD581 #81EBA0 #8197EB #EB81CC
split-complementary
#EBD581 #81CCEB #A081EB
monochromatic
#D1AC21 #E3C34C #EBD581 #F3E7B6 #FBF6E5

Accessibility & contrast

On white

1.46
#EBD581 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.37
#EBD581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD581
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD581#FFFFFF#000000##000000
##EBD5811.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D17A
Deuteranopia (green-blind)
#EBD984
Tritanopia (blue-blind)
#FAC9C1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ebd581;
/* rgb */ color: rgb(235, 213, 129);
/* oklch */ color: oklch(87.3% 0.107 95.2);
Tailwind
colors: {
  custom: {
    50: '#f3e1a7',
    500: '#ebd581',
    950: '#000000',
  },
}
SCSS
$custom: #ebd581;
$custom-light: #f3e1a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd581",
  "rgb": {
    "r": 235,
    "g": 213,
    "b": 129
  },
  "hsl": {
    "h": 47.547,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.87317,
    "c": 0.1071,
    "h": 95.2
  },
  "luminance": 0.66836
}

Semantic roles & 50–950 ramp

primary
#EBD581
secondary
#4C65C5
accent
#39D511
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EBD581

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

Preview Lab → · Contrast checker → · Palette generator →

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