#EBD173#EBD173

#EBD173 is a very light, moderate yellow. Relative luminance 0.645; OKLCH L 86.3% C 0.118 H 94.3°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#EBD173
RGBrgb(235, 209, 115)
HSLhsl(47, 75%, 69%)
HSVhsv(47, 51%, 92%)
CMYKcmyk(0%, 11.1%, 51.1%, 7.8%)
CIE-LABlab(84.23, -2.72, 49.53)
CIE-LCHlch(84.23, 49.60, 93.14°)
OKLaboklab(86.32% -0.0088 0.1176)
OKLCHoklch(86.32% 0.118 94.3)
XYZxyz(60.1580, 64.5035, 25.4980)
Luminance0.6450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD173 #738DEB
analogous
#EB9573 #EBD173 #C9EB73
triadic
#EBD173 #73EBD1 #D173EB
tetradic
#EBD173 #73EB95 #738DEB #EB73C9
square
#EBD173 #73EB95 #738DEB #EB73C9
split-complementary
#EBD173 #73C9EB #9573EB
monochromatic
#C7A21C #E3BF3D #EBD173 #F3E3A9 #FAF4DE

Accessibility & contrast

On white

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

On black

13.90
#EBD173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD173
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD173#FFFFFF#000000##000000
##EBD1731.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD6B
Deuteranopia (green-blind)
#E9D677
Tritanopia (blue-blind)
#FBC4BB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ebd173;
/* rgb */ color: rgb(235, 209, 115);
/* oklch */ color: oklch(86.3% 0.118 94.3);
Tailwind
colors: {
  custom: {
    50: '#f4de9d',
    500: '#ebd173',
    950: '#000000',
  },
}
SCSS
$custom: #ebd173;
$custom-light: #f4de9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd173",
  "rgb": {
    "r": 235,
    "g": 209,
    "b": 115
  },
  "hsl": {
    "h": 47,
    "s": 75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.86315,
    "c": 0.11795,
    "h": 94.3
  },
  "luminance": 0.64501
}

Semantic roles & 50–950 ramp

primary
#EBD173
secondary
#3F5CC3
accent
#3AD70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EBD173

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

Preview Lab → · Contrast checker → · Palette generator →

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