#EBD45A#EBD45A

#EBD45A is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.6% C 0.143 H 98.6°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#EBD45A
RGBrgb(235, 212, 90)
HSLhsl(50, 78%, 64%)
HSVhsv(50, 62%, 92%)
CMYKcmyk(0%, 9.8%, 61.7%, 7.8%)
CIE-LABlab(84.74, -6.12, 61.59)
CIE-LCHlch(84.74, 61.89, 95.67°)
OKLaboklab(86.63% -0.0214 0.1409)
OKLCHoklch(86.63% 0.143 98.6)
XYZxyz(59.6524, 65.4900, 19.1696)
Luminance0.6549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD45A #5A71EB
analogous
#EB8B5A #EBD45A #B9EB5A
triadic
#EBD45A #5AEBD4 #D45AEB
tetradic
#EBD45A #5AEB8B #5A71EB #EB5AB9
square
#EBD45A #5AEB8B #5A71EB #EB5AB9
split-complementary
#EBD45A #5AB9EB #8B5AEB
monochromatic
#B59C16 #E4C623 #EBD45A #F2E291 #F8F0C7

Accessibility & contrast

On white

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

On black

14.10
#EBD45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD45A
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD45A#FFFFFF#000000##000000
##EBD45A1.001.4914.1014.10
#FFFFFF1.491.0021.0021.00
#00000014.1021.001.001.00
##00000014.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF4C
Deuteranopia (green-blind)
#EDD760
Tritanopia (blue-blind)
#FCC6BA
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ebd45a;
/* rgb */ color: rgb(235, 212, 90);
/* oklch */ color: oklch(86.6% 0.143 98.6);
Tailwind
colors: {
  custom: {
    50: '#f5e08d',
    500: '#ebd45a',
    950: '#000000',
  },
}
SCSS
$custom: #ebd45a;
$custom-light: #f5e08d;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd45a",
  "rgb": {
    "r": 235,
    "g": 212,
    "b": 90
  },
  "hsl": {
    "h": 50.483,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.86634,
    "c": 0.14251,
    "h": 98.6
  },
  "luminance": 0.65487
}

Semantic roles & 50–950 ramp

primary
#EBD45A
secondary
#3549B5
accent
#2CDB0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #EBD45A

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

Preview Lab → · Contrast checker → · Palette generator →

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