#EBD973#EBD973

#EBD973 is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 87.9% C 0.125 H 99.5°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#EBD973
RGBrgb(235, 217, 115)
HSLhsl(51, 75%, 69%)
HSVhsv(51, 51%, 92%)
CMYKcmyk(0%, 7.7%, 51.1%, 7.8%)
CIE-LABlab(86.27, -6.79, 51.98)
CIE-LCHlch(86.27, 52.42, 97.44°)
OKLaboklab(87.93% -0.0206 0.123)
OKLCHoklch(87.93% 0.125 99.5)
XYZxyz(62.1703, 68.5280, 26.1687)
Luminance0.6853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD973 #7385EB
analogous
#EB9D73 #EBD973 #C1EB73
triadic
#EBD973 #73EBD9 #D973EB
tetradic
#EBD973 #73EB9D #7385EB #EB73C1
square
#EBD973 #73EB9D #7385EB #EB73C1
split-complementary
#EBD973 #73C1EB #9D73EB
monochromatic
#C7AE1C #E3CA3D #EBD973 #F3E8A9 #FAF6DE

Accessibility & contrast

On white

1.43
#EBD973 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.71
#EBD973 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD973
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD973#FFFFFF#000000##000000
##EBD9731.001.4314.7114.71
#FFFFFF1.431.0021.0021.00
#00000014.7121.001.001.00
##00000014.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD46A
Deuteranopia (green-blind)
#EFDB77
Tritanopia (blue-blind)
#FACCC1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ebd973;
/* rgb */ color: rgb(235, 217, 115);
/* oklch */ color: oklch(87.9% 0.125 99.5);
Tailwind
colors: {
  custom: {
    50: '#f4e49e',
    500: '#ebd973',
    950: '#000000',
  },
}
SCSS
$custom: #ebd973;
$custom-light: #f4e49e;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd973",
  "rgb": {
    "r": 235,
    "g": 217,
    "b": 115
  },
  "hsl": {
    "h": 51,
    "s": 75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.87931,
    "c": 0.12471,
    "h": 99.5
  },
  "luminance": 0.68526
}

Semantic roles & 50–950 ramp

primary
#EBD973
secondary
#3F53C3
accent
#2CD70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EBD973

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

Preview Lab → · Contrast checker → · Palette generator →

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