#EBDA5B#EBDA5B

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

Color values

HEX#EBDA5B
RGBrgb(235, 218, 91)
HSLhsl(53, 78%, 64%)
HSVhsv(53, 61%, 92%)
CMYKcmyk(0%, 7.2%, 61.3%, 7.8%)
CIE-LABlab(86.29, -9.08, 62.85)
CIE-LCHlch(86.29, 63.50, 98.22°)
OKLaboklab(87.87% -0.0298 0.1437)
OKLCHoklch(87.87% 0.147 101.7)
XYZxyz(61.2230, 68.5627, 19.9045)
Luminance0.6856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBDA5B #5B6CEB
analogous
#EB925B #EBDA5B #B4EB5B
triadic
#EBDA5B #5BEBDA #DA5BEB
tetradic
#EBDA5B #5BEB92 #5B6CEB #EB5BB4
square
#EBDA5B #5BEB92 #5B6CEB #EB5BB4
split-complementary
#EBDA5B #5BB4EB #925BEB
monochromatic
#B5A316 #E4CE24 #EBDA5B #F2E692 #F8F3C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBDA5B#FFFFFF#000000##000000
##EBDA5B1.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)
#EDD44C
Deuteranopia (green-blind)
#F2DB62
Tritanopia (blue-blind)
#FCCCBF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ebda5b;
/* rgb */ color: rgb(235, 218, 91);
/* oklch */ color: oklch(87.9% 0.147 101.7);
Tailwind
colors: {
  custom: {
    50: '#f5e58e',
    500: '#ebda5b',
    950: '#000000',
  },
}
SCSS
$custom: #ebda5b;
$custom-light: #f5e58e;
$custom-dark: #000000;
JSON
{
  "hex": "#ebda5b",
  "rgb": {
    "r": 235,
    "g": 218,
    "b": 91
  },
  "hsl": {
    "h": 52.917,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.87867,
    "c": 0.14676,
    "h": 101.7
  },
  "luminance": 0.6856
}

Semantic roles & 50–950 ramp

primary
#EBDA5B
secondary
#3544B5
accent
#23DB0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #EBDA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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