#EBD480#EBD480

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

Color values

HEX#EBD480
RGBrgb(235, 212, 128)
HSLhsl(47, 73%, 71%)
HSVhsv(47, 46%, 92%)
CMYKcmyk(0%, 9.8%, 45.5%, 7.8%)
CIE-LABlab(85.15, -3.07, 44.31)
CIE-LCHlch(85.15, 44.42, 93.97°)
OKLaboklab(87.1% -0.0085 0.107)
OKLCHoklch(87.1% 0.107 94.5)
XYZxyz(61.7025, 66.3100, 29.9668)
Luminance0.6631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD480 #8097EB
analogous
#EB9E80 #EBD480 #CCEB80
triadic
#EBD480 #80EBD4 #D480EB
tetradic
#EBD480 #80EB9E #8097EB #EB80CC
square
#EBD480 #80EB9E #8097EB #EB80CC
split-complementary
#EBD480 #80CCEB #9E80EB
monochromatic
#D0AA21 #E3C24B #EBD480 #F3E6B5 #FBF6E5

Accessibility & contrast

On white

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

On black

14.26
#EBD480 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD480
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD480#FFFFFF#000000##000000
##EBD4801.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ebd480;
/* rgb */ color: rgb(235, 212, 128);
/* oklch */ color: oklch(87.1% 0.107 94.5);
Tailwind
colors: {
  custom: {
    50: '#f3e1a6',
    500: '#ebd480',
    950: '#000000',
  },
}
SCSS
$custom: #ebd480;
$custom-light: #f3e1a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd480",
  "rgb": {
    "r": 235,
    "g": 212,
    "b": 128
  },
  "hsl": {
    "h": 47.103,
    "s": 72.789,
    "l": 71.176
  },
  "oklch": {
    "l": 0.87101,
    "c": 0.10731,
    "h": 94.5
  },
  "luminance": 0.66308
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EBD480

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

Preview Lab → · Contrast checker → · Palette generator →

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