#EBD45B#EBD45B

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

Color values

HEX#EBD45B
RGBrgb(235, 212, 91)
HSLhsl(50, 78%, 64%)
HSVhsv(50, 61%, 92%)
CMYKcmyk(0%, 9.8%, 61.3%, 7.8%)
CIE-LABlab(84.74, -6.05, 61.17)
CIE-LCHlch(84.74, 61.46, 95.65°)
OKLaboklab(86.64% -0.0211 0.1401)
OKLCHoklch(86.64% 0.142 98.6)
XYZxyz(59.6952, 65.5071, 19.3953)
Luminance0.6550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD45B #5B72EB
analogous
#EB8C5B #EBD45B #BAEB5B
triadic
#EBD45B #5BEBD4 #D45BEB
tetradic
#EBD45B #5BEB8C #5B72EB #EB5BBA
square
#EBD45B #5BEB8C #5B72EB #EB5BBA
split-complementary
#EBD45B #5BBAEB #8C5BEB
monochromatic
#B59C16 #E4C624 #EBD45B #F2E292 #F8F1C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBD45B#FFFFFF#000000##000000
##EBD45B1.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)
#E7CF4D
Deuteranopia (green-blind)
#EDD761
Tritanopia (blue-blind)
#FCC6BA
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ebd45b;
/* rgb */ color: rgb(235, 212, 91);
/* oklch */ color: oklch(86.6% 0.142 98.6);
Tailwind
colors: {
  custom: {
    50: '#f5e08e',
    500: '#ebd45b',
    950: '#000000',
  },
}
SCSS
$custom: #ebd45b;
$custom-light: #f5e08e;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd45b",
  "rgb": {
    "r": 235,
    "g": 212,
    "b": 91
  },
  "hsl": {
    "h": 50.417,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.86644,
    "c": 0.14171,
    "h": 98.6
  },
  "luminance": 0.65504
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EBD45B

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

Preview Lab → · Contrast checker → · Palette generator →

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