#EBD178#EBD178

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

Color values

HEX#EBD178
RGBrgb(235, 209, 120)
HSLhsl(46, 74%, 70%)
HSVhsv(46, 49%, 92%)
CMYKcmyk(0%, 11.1%, 48.9%, 7.8%)
CIE-LABlab(84.29, -2.28, 47.18)
CIE-LCHlch(84.29, 47.23, 92.77°)
OKLaboklab(86.38% -0.007 0.1128)
OKLCHoklch(86.38% 0.113 93.6)
XYZxyz(60.4536, 64.6217, 27.0545)
Luminance0.6462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD178 #7892EB
analogous
#EB9878 #EBD178 #CCEB78
triadic
#EBD178 #78EBD1 #D178EB
tetradic
#EBD178 #78EB98 #7892EB #EB78CC
square
#EBD178 #78EB98 #7892EB #EB78CC
split-complementary
#EBD178 #78CCEB #9878EB
monochromatic
#CBA41E #E3BF43 #EBD178 #F3E3AD #FBF5E3

Accessibility & contrast

On white

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

On black

13.92
#EBD178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD178
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD178#FFFFFF#000000##000000
##EBD1781.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CE71
Deuteranopia (green-blind)
#E9D67B
Tritanopia (blue-blind)
#FBC5BC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ebd178;
/* rgb */ color: rgb(235, 209, 120);
/* oklch */ color: oklch(86.4% 0.113 93.6);
Tailwind
colors: {
  custom: {
    50: '#f3dea1',
    500: '#ebd178',
    950: '#000000',
  },
}
SCSS
$custom: #ebd178;
$custom-light: #f3dea1;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd178",
  "rgb": {
    "r": 235,
    "g": 209,
    "b": 120
  },
  "hsl": {
    "h": 46.435,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.86383,
    "c": 0.11304,
    "h": 93.6
  },
  "luminance": 0.64619
}

Semantic roles & 50–950 ramp

primary
#EBD178
secondary
#4460C4
accent
#3CD60F
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #EBD178

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

Preview Lab → · Contrast checker → · Palette generator →

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