#EBD954#EBD954

#EBD954 is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.6% C 0.151 H 101.6°. Best body text is #000000 at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#EBD954
RGBrgb(235, 217, 84)
HSLhsl(53, 79%, 63%)
HSVhsv(53, 64%, 92%)
CMYKcmyk(0%, 7.7%, 64.3%, 7.8%)
CIE-LABlab(85.97, -9.01, 65.44)
CIE-LCHlch(85.97, 66.06, 97.84°)
OKLaboklab(87.6% -0.0303 0.1482)
OKLCHoklch(87.6% 0.151 101.6)
XYZxyz(60.6765, 67.9305, 18.3016)
Luminance0.6793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD954 #5466EB
analogous
#EB8E54 #EBD954 #B1EB54
triadic
#EBD954 #54EBD9 #D954EB
tetradic
#EBD954 #54EB8E #5466EB #EB54B1
square
#EBD954 #54EB8E #5466EB #EB54B1
split-complementary
#EBD954 #54B1EB #8E54EB
monochromatic
#B09D15 #E5CD1D #EBD954 #F1E58B #F8F1C2

Accessibility & contrast

On white

1.44
#EBD954 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.59
#EBD954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD954
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD954#FFFFFF#000000##000000
##EBD9541.001.4414.5914.59
#FFFFFF1.441.0021.0021.00
#00000014.5921.001.001.00
##00000014.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD343
Deuteranopia (green-blind)
#F1DA5C
Tritanopia (blue-blind)
#FCCABD
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ebd954;
/* rgb */ color: rgb(235, 217, 84);
/* oklch */ color: oklch(87.6% 0.151 101.6);
Tailwind
colors: {
  custom: {
    50: '#f5e48a',
    500: '#ebd954',
    950: '#000000',
  },
}
SCSS
$custom: #ebd954;
$custom-light: #f5e48a;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd954",
  "rgb": {
    "r": 235,
    "g": 217,
    "b": 84
  },
  "hsl": {
    "h": 52.848,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.87599,
    "c": 0.15127,
    "h": 101.6
  },
  "luminance": 0.67928
}

Semantic roles & 50–950 ramp

primary
#EBD954
secondary
#3342B0
accent
#23DB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #EBD954

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

Preview Lab → · Contrast checker → · Palette generator →

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