#EBD54B#EBD54B

#EBD54B is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.7% C 0.154 H 100.1°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#EBD54B
RGBrgb(235, 213, 75)
HSLhsl(52, 80%, 61%)
HSVhsv(52, 68%, 92%)
CMYKcmyk(0%, 9.4%, 68.1%, 7.8%)
CIE-LABlab(84.87, -7.49, 67.89)
CIE-LCHlch(84.87, 68.31, 96.30°)
OKLaboklab(86.71% -0.027 0.152)
OKLCHoklch(86.71% 0.154 100.1)
XYZxyz(59.3279, 65.7614, 16.2234)
Luminance0.6576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD54B #4B61EB
analogous
#EB854B #EBD54B #B1EB4B
triadic
#EBD54B #4BEBD5 #D54BEB
tetradic
#EBD54B #4BEB85 #4B61EB #EB4BB1
square
#EBD54B #4BEB85 #4B61EB #EB4BB1
split-complementary
#EBD54B #4BB1EB #854BEB
monochromatic
#A99413 #E0C519 #EBD54B #F1E282 #F7EFB9

Accessibility & contrast

On white

1.48
#EBD54B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.15
#EBD54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD54B
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD54B#FFFFFF#000000##000000
##EBD54B1.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF37
Deuteranopia (green-blind)
#EFD853
Tritanopia (blue-blind)
#FDC6B9
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ebd54b;
/* rgb */ color: rgb(235, 213, 75);
/* oklch */ color: oklch(86.7% 0.154 100.1);
Tailwind
colors: {
  custom: {
    50: '#f5e185',
    500: '#ebd54b',
    950: '#000000',
  },
}
SCSS
$custom: #ebd54b;
$custom-light: #f5e185;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd54b",
  "rgb": {
    "r": 235,
    "g": 213,
    "b": 75
  },
  "hsl": {
    "h": 51.75,
    "s": 80,
    "l": 60.784
  },
  "oklch": {
    "l": 0.86706,
    "c": 0.15434,
    "h": 100.1
  },
  "luminance": 0.65759
}

Semantic roles & 50–950 ramp

primary
#EBD54B
secondary
#3041AA
accent
#26DC09
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#18150B
muted
#86847E

Preview Lab

Preview with #EBD54B

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

Preview Lab → · Contrast checker → · Palette generator →

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