#EBD479#EBD479

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

Color values

HEX#EBD479
RGBrgb(235, 212, 121)
HSLhsl(48, 74%, 70%)
HSVhsv(48, 49%, 92%)
CMYKcmyk(0%, 9.8%, 48.5%, 7.8%)
CIE-LABlab(85.06, -3.73, 47.64)
CIE-LCHlch(85.06, 47.78, 94.47°)
OKLaboklab(87% -0.0111 0.1139)
OKLCHoklch(87% 0.114 95.6)
XYZxyz(61.2575, 66.1320, 27.6235)
Luminance0.6613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD479 #7990EB
analogous
#EB9B79 #EBD479 #C9EB79
triadic
#EBD479 #79EBD4 #D479EB
tetradic
#EBD479 #79EB9B #7990EB #EB79C9
square
#EBD479 #79EB9B #7990EB #EB79C9
split-complementary
#EBD479 #79C9EB #9B79EB
monochromatic
#CBA81E #E3C344 #EBD479 #F3E5AE #FBF6E4

Accessibility & contrast

On white

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

On black

14.23
#EBD479 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD479
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD479#FFFFFF#000000##000000
##EBD4791.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ebd479;
/* rgb */ color: rgb(235, 212, 121);
/* oklch */ color: oklch(87.0% 0.114 95.6);
Tailwind
colors: {
  custom: {
    50: '#f3e1a1',
    500: '#ebd479',
    950: '#000000',
  },
}
SCSS
$custom: #ebd479;
$custom-light: #f3e1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd479",
  "rgb": {
    "r": 235,
    "g": 212,
    "b": 121
  },
  "hsl": {
    "h": 47.895,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.87,
    "c": 0.11446,
    "h": 95.6
  },
  "luminance": 0.6613
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EBD479

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

Preview Lab → · Contrast checker → · Palette generator →

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