#EBD981#EBD981

#EBD981 is a very light, moderate yellow. Relative luminance 0.689; OKLCH L 88.1% C 0.111 H 98.1°. Best body text is #000000 at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#EBD981
RGBrgb(235, 217, 129)
HSLhsl(50, 73%, 71%)
HSVhsv(50, 45%, 92%)
CMYKcmyk(0%, 7.7%, 45.1%, 7.8%)
CIE-LABlab(86.44, -5.52, 45.42)
CIE-LCHlch(86.44, 45.76, 96.93°)
OKLaboklab(88.12% -0.0155 0.1095)
OKLCHoklch(88.12% 0.111 98.1)
XYZxyz(63.0379, 68.8750, 30.7383)
Luminance0.6887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD981 #8193EB
analogous
#EBA481 #EBD981 #C8EB81
triadic
#EBD981 #81EBD9 #D981EB
tetradic
#EBD981 #81EBA4 #8193EB #EB81C8
square
#EBD981 #81EBA4 #8193EB #EB81C8
split-complementary
#EBD981 #81C8EB #A481EB
monochromatic
#D1B321 #E3C94C #EBD981 #F3E9B6 #FBF7E5

Accessibility & contrast

On white

1.42
#EBD981 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.77
#EBD981 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD981
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD981#FFFFFF#000000##000000
##EBD9811.001.4214.7714.77
#FFFFFF1.421.0021.0021.00
#00000014.7721.001.001.00
##00000014.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D57A
Deuteranopia (green-blind)
#EEDB85
Tritanopia (blue-blind)
#F9CDC4
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ebd981;
/* rgb */ color: rgb(235, 217, 129);
/* oklch */ color: oklch(88.1% 0.111 98.1);
Tailwind
colors: {
  custom: {
    50: '#f3e4a7',
    500: '#ebd981',
    950: '#000000',
  },
}
SCSS
$custom: #ebd981;
$custom-light: #f3e4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd981",
  "rgb": {
    "r": 235,
    "g": 217,
    "b": 129
  },
  "hsl": {
    "h": 49.811,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.88123,
    "c": 0.11062,
    "h": 98.1
  },
  "luminance": 0.68873
}

Semantic roles & 50–950 ramp

primary
#EBD981
secondary
#4C60C5
accent
#32D511
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EBD981

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

Preview Lab → · Contrast checker → · Palette generator →

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