#EBD179#EBD179

#EBD179 is a very light, moderate yellow. Relative luminance 0.646; OKLCH L 86.4% C 0.112 H 93.4°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#EBD179
RGBrgb(235, 209, 121)
HSLhsl(46, 74%, 70%)
HSVhsv(46, 49%, 92%)
CMYKcmyk(0%, 11.1%, 48.5%, 7.8%)
CIE-LABlab(84.30, -2.19, 46.70)
CIE-LCHlch(84.30, 46.75, 92.69°)
OKLaboklab(86.4% -0.0066 0.1118)
OKLCHoklch(86.4% 0.112 93.4)
XYZxyz(60.5146, 64.6461, 27.3758)
Luminance0.6464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD179 #7993EB
analogous
#EB9879 #EBD179 #CCEB79
triadic
#EBD179 #79EBD1 #D179EB
tetradic
#EBD179 #79EB98 #7993EB #EB79CC
square
#EBD179 #79EB98 #7993EB #EB79CC
split-complementary
#EBD179 #79CCEB #9879EB
monochromatic
#CBA41E #E3BF44 #EBD179 #F3E3AE #FBF6E4

Accessibility & contrast

On white

1.51
#EBD179 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.93
#EBD179 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD179
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD179#FFFFFF#000000##000000
##EBD1791.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CE72
Deuteranopia (green-blind)
#E8D67C
Tritanopia (blue-blind)
#FAC5BC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ebd179;
/* rgb */ color: rgb(235, 209, 121);
/* oklch */ color: oklch(86.4% 0.112 93.4);
Tailwind
colors: {
  custom: {
    50: '#f3dea1',
    500: '#ebd179',
    950: '#000000',
  },
}
SCSS
$custom: #ebd179;
$custom-light: #f3dea1;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd179",
  "rgb": {
    "r": 235,
    "g": 209,
    "b": 121
  },
  "hsl": {
    "h": 46.316,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.86397,
    "c": 0.11204,
    "h": 93.4
  },
  "luminance": 0.64644
}

Semantic roles & 50–950 ramp

primary
#EBD179
secondary
#4461C4
accent
#3DD60F
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #EBD179

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

Preview Lab → · Contrast checker → · Palette generator →

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