#EBD45E#EBD45E

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

Color values

HEX#EBD45E
RGBrgb(235, 212, 94)
HSLhsl(50, 78%, 65%)
HSVhsv(50, 60%, 92%)
CMYKcmyk(0%, 9.8%, 60%, 7.8%)
CIE-LABlab(84.77, -5.85, 59.88)
CIE-LCHlch(84.77, 60.17, 95.58°)
OKLaboklab(86.67% -0.0202 0.1378)
OKLCHoklch(86.67% 0.139 98.3)
XYZxyz(59.8272, 65.5599, 20.0905)
Luminance0.6556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD45E #5E75EB
analogous
#EB8E5E #EBD45E #BBEB5E
triadic
#EBD45E #5EEBD4 #D45EEB
tetradic
#EBD45E #5EEB8E #5E75EB #EB5EBB
square
#EBD45E #5EEB8E #5E75EB #EB5EBB
split-complementary
#EBD45E #5EBBEB #8E5EEB
monochromatic
#B89E17 #E4C528 #EBD45E #F2E394 #F9F1CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBD45E#FFFFFF#000000##000000
##EBD45E1.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)
#E7CF51
Deuteranopia (green-blind)
#EDD764
Tritanopia (blue-blind)
#FCC6BA
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ebd45e;
/* rgb */ color: rgb(235, 212, 94);
/* oklch */ color: oklch(86.7% 0.139 98.3);
Tailwind
colors: {
  custom: {
    50: '#f4e090',
    500: '#ebd45e',
    950: '#000000',
  },
}
SCSS
$custom: #ebd45e;
$custom-light: #f4e090;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd45e",
  "rgb": {
    "r": 235,
    "g": 212,
    "b": 94
  },
  "hsl": {
    "h": 50.213,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.86674,
    "c": 0.13926,
    "h": 98.3
  },
  "luminance": 0.65557
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EBD45E

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

Preview Lab → · Contrast checker → · Palette generator →

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