#EBD45D#EBD45D

#EBD45D is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.7% C 0.140 H 98.4°. Best body text is #000000 at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#EBD45D
RGBrgb(235, 212, 93)
HSLhsl(50, 78%, 64%)
HSVhsv(50, 60%, 92%)
CMYKcmyk(0%, 9.8%, 60.4%, 7.8%)
CIE-LABlab(84.76, -5.92, 60.31)
CIE-LCHlch(84.76, 60.60, 95.61°)
OKLaboklab(86.66% -0.0205 0.1386)
OKLCHoklch(86.66% 0.14 98.4)
XYZxyz(59.7826, 65.5421, 19.8557)
Luminance0.6554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD45D #5D74EB
analogous
#EB8D5D #EBD45D #BBEB5D
triadic
#EBD45D #5DEBD4 #D45DEB
tetradic
#EBD45D #5DEB8D #5D74EB #EB5DBB
square
#EBD45D #5DEB8D #5D74EB #EB5DBB
split-complementary
#EBD45D #5DBBEB #8D5DEB
monochromatic
#B79D17 #E4C627 #EBD45D #F2E293 #F8F1CA

Accessibility & contrast

On white

1.49
#EBD45D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.11
#EBD45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD45D
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD45D#FFFFFF#000000##000000
##EBD45D1.001.4914.1114.11
#FFFFFF1.491.0021.0021.00
#00000014.1121.001.001.00
##00000014.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF50
Deuteranopia (green-blind)
#EDD763
Tritanopia (blue-blind)
#FCC6BA
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ebd45d;
/* rgb */ color: rgb(235, 212, 93);
/* oklch */ color: oklch(86.7% 0.140 98.4);
Tailwind
colors: {
  custom: {
    50: '#f4e08f',
    500: '#ebd45d',
    950: '#000000',
  },
}
SCSS
$custom: #ebd45d;
$custom-light: #f4e08f;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd45d",
  "rgb": {
    "r": 235,
    "g": 212,
    "b": 93
  },
  "hsl": {
    "h": 50.282,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.86664,
    "c": 0.14009,
    "h": 98.4
  },
  "luminance": 0.65539
}

Semantic roles & 50–950 ramp

primary
#EBD45D
secondary
#364AB7
accent
#2DDA0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #EBD45D

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

Preview Lab → · Contrast checker → · Palette generator →

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