#EBD781#EBD781

#EBD781 is a very light, moderate yellow. Relative luminance 0.678; OKLCH L 87.7% C 0.109 H 96.6°. Best body text is #000000 at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#EBD781
RGBrgb(235, 215, 129)
HSLhsl(49, 73%, 71%)
HSVhsv(49, 45%, 92%)
CMYKcmyk(0%, 8.5%, 45.1%, 7.8%)
CIE-LABlab(85.93, -4.51, 44.79)
CIE-LCHlch(85.93, 45.01, 95.75°)
OKLaboklab(87.72% -0.0126 0.1081)
OKLCHoklch(87.72% 0.109 96.6)
XYZxyz(62.5255, 67.8503, 30.5675)
Luminance0.6785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD781 #8195EB
analogous
#EBA281 #EBD781 #CAEB81
triadic
#EBD781 #81EBD7 #D781EB
tetradic
#EBD781 #81EBA2 #8195EB #EB81CA
square
#EBD781 #81EBA2 #8195EB #EB81CA
split-complementary
#EBD781 #81CAEB #A281EB
monochromatic
#D1AF21 #E3C64C #EBD781 #F3E8B6 #FBF7E5

Accessibility & contrast

On white

1.44
#EBD781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.57
#EBD781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD781
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD781#FFFFFF#000000##000000
##EBD7811.001.4414.5714.57
#FFFFFF1.441.0021.0021.00
#00000014.5721.001.001.00
##00000014.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D37A
Deuteranopia (green-blind)
#ECDA84
Tritanopia (blue-blind)
#FACBC2
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ebd781;
/* rgb */ color: rgb(235, 215, 129);
/* oklch */ color: oklch(87.7% 0.109 96.6);
Tailwind
colors: {
  custom: {
    50: '#f3e3a7',
    500: '#ebd781',
    950: '#000000',
  },
}
SCSS
$custom: #ebd781;
$custom-light: #f3e3a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd781",
  "rgb": {
    "r": 235,
    "g": 215,
    "b": 129
  },
  "hsl": {
    "h": 48.679,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.87719,
    "c": 0.10884,
    "h": 96.6
  },
  "luminance": 0.67848
}

Semantic roles & 50–950 ramp

primary
#EBD781
secondary
#4C62C5
accent
#36D511
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EBD781

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

Preview Lab → · Contrast checker → · Palette generator →

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