#EBD481#EBD481

#EBD481 is a very light, moderate yellow. Relative luminance 0.663; OKLCH L 87.1% C 0.106 H 94.4°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#EBD481
RGBrgb(235, 212, 129)
HSLhsl(47, 73%, 71%)
HSVhsv(47, 45%, 92%)
CMYKcmyk(0%, 9.8%, 45.1%, 7.8%)
CIE-LABlab(85.17, -2.98, 43.83)
CIE-LCHlch(85.17, 43.93, 93.88°)
OKLaboklab(87.12% -0.0081 0.106)
OKLCHoklch(87.12% 0.106 94.4)
XYZxyz(61.7686, 66.3365, 30.3152)
Luminance0.6633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD481 #8198EB
analogous
#EB9F81 #EBD481 #CDEB81
triadic
#EBD481 #81EBD4 #D481EB
tetradic
#EBD481 #81EB9F #8198EB #EB81CD
square
#EBD481 #81EB9F #8198EB #EB81CD
split-complementary
#EBD481 #81CDEB #9F81EB
monochromatic
#D1AA21 #E3C24C #EBD481 #F3E6B6 #FBF6E5

Accessibility & contrast

On white

1.47
#EBD481 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.27
#EBD481 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD481
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD481#FFFFFF#000000##000000
##EBD4811.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D17A
Deuteranopia (green-blind)
#EAD884
Tritanopia (blue-blind)
#FAC8C0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ebd481;
/* rgb */ color: rgb(235, 212, 129);
/* oklch */ color: oklch(87.1% 0.106 94.4);
Tailwind
colors: {
  custom: {
    50: '#f3e1a7',
    500: '#ebd481',
    950: '#000000',
  },
}
SCSS
$custom: #ebd481;
$custom-light: #f3e1a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd481",
  "rgb": {
    "r": 235,
    "g": 212,
    "b": 129
  },
  "hsl": {
    "h": 46.981,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.87116,
    "c": 0.10627,
    "h": 94.4
  },
  "luminance": 0.66334
}

Semantic roles & 50–950 ramp

primary
#EBD481
secondary
#4C66C5
accent
#3BD511
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EBD481

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

Preview Lab → · Contrast checker → · Palette generator →

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