#EBD451#EBD451

#EBD451 is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.6% C 0.149 H 99.2°. Best body text is #000000 at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#EBD451
RGBrgb(235, 212, 81)
HSLhsl(51, 79%, 62%)
HSVhsv(51, 66%, 92%)
CMYKcmyk(0%, 9.8%, 65.5%, 7.8%)
CIE-LABlab(84.66, -6.66, 65.29)
CIE-LCHlch(84.66, 65.63, 95.83°)
OKLaboklab(86.55% -0.024 0.1474)
OKLCHoklch(86.55% 0.149 99.2)
XYZxyz(59.2922, 65.3459, 17.2729)
Luminance0.6534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD451 #5168EB
analogous
#EB8751 #EBD451 #B5EB51
triadic
#EBD451 #51EBD4 #D451EB
tetradic
#EBD451 #51EB87 #5168EB #EB51B5
square
#EBD451 #51EB87 #5168EB #EB51B5
split-complementary
#EBD451 #51B5EB #8751EB
monochromatic
#AE9714 #E5C61A #EBD451 #F1E288 #F8EFBF

Accessibility & contrast

On white

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

On black

14.07
#EBD451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD451
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD451#FFFFFF#000000##000000
##EBD4511.001.4914.0714.07
#FFFFFF1.491.0021.0021.00
#00000014.0721.001.001.00
##00000014.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF40
Deuteranopia (green-blind)
#EED758
Tritanopia (blue-blind)
#FCC5B9
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ebd451;
/* rgb */ color: rgb(235, 212, 81);
/* oklch */ color: oklch(86.6% 0.149 99.2);
Tailwind
colors: {
  custom: {
    50: '#f5e088',
    500: '#ebd451',
    950: '#000000',
  },
}
SCSS
$custom: #ebd451;
$custom-light: #f5e088;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd451",
  "rgb": {
    "r": 235,
    "g": 212,
    "b": 81
  },
  "hsl": {
    "h": 51.039,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.86552,
    "c": 0.14936,
    "h": 99.2
  },
  "luminance": 0.65343
}

Semantic roles & 50–950 ramp

primary
#EBD451
secondary
#3244AE
accent
#29DC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #EBD451

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

Preview Lab → · Contrast checker → · Palette generator →

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