#EBD478#EBD478

#EBD478 is a very light, moderate yellow. Relative luminance 0.661; OKLCH L 87.0% C 0.115 H 95.7°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#EBD478
RGBrgb(235, 212, 120)
HSLhsl(48, 74%, 70%)
HSVhsv(48, 49%, 92%)
CMYKcmyk(0%, 9.8%, 48.9%, 7.8%)
CIE-LABlab(85.05, -3.82, 48.11)
CIE-LCHlch(85.05, 48.26, 94.53°)
OKLaboklab(86.99% -0.0115 0.1149)
OKLCHoklch(86.99% 0.115 95.7)
XYZxyz(61.1965, 66.1076, 27.3022)
Luminance0.6611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD478 #788FEB
analogous
#EB9B78 #EBD478 #C9EB78
triadic
#EBD478 #78EBD4 #D478EB
tetradic
#EBD478 #78EB9B #788FEB #EB78C9
square
#EBD478 #78EB9B #788FEB #EB78C9
split-complementary
#EBD478 #78C9EB #9B78EB
monochromatic
#CBA81E #E3C343 #EBD478 #F3E5AD #FBF6E3

Accessibility & contrast

On white

1.48
#EBD478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.22
#EBD478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD478
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD478#FFFFFF#000000##000000
##EBD4781.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D070
Deuteranopia (green-blind)
#EBD87C
Tritanopia (blue-blind)
#FAC8BE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ebd478;
/* rgb */ color: rgb(235, 212, 120);
/* oklch */ color: oklch(87.0% 0.115 95.7);
Tailwind
colors: {
  custom: {
    50: '#f3e1a1',
    500: '#ebd478',
    950: '#000000',
  },
}
SCSS
$custom: #ebd478;
$custom-light: #f3e1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd478",
  "rgb": {
    "r": 235,
    "g": 212,
    "b": 120
  },
  "hsl": {
    "h": 48,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.86986,
    "c": 0.11546,
    "h": 95.7
  },
  "luminance": 0.66105
}

Semantic roles & 50–950 ramp

primary
#EBD478
secondary
#445DC4
accent
#37D60F
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #EBD478

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

Preview Lab → · Contrast checker → · Palette generator →

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