#E2BE51#E2BE51

#E2BE51 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 81.3% C 0.133 H 90.8°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#E2BE51
RGBrgb(226, 190, 81)
HSLhsl(45, 71%, 60%)
HSVhsv(45, 64%, 89%)
CMYKcmyk(0%, 15.9%, 64.2%, 11.4%)
CIE-LABlab(78.22, 0.87, 58.19)
CIE-LCHlch(78.22, 58.20, 89.15°)
OKLaboklab(81.27% -0.0018 0.1326)
OKLCHoklch(81.27% 0.133 90.8)
XYZxyz(51.2652, 53.5926, 15.4272)
Luminance0.5359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BE51 #5175E2
analogous
#E27551 #E2BE51 #BEE251
triadic
#E2BE51 #51E2BE #BE51E2
tetradic
#E2BE51 #51E275 #5175E2 #E251BE
square
#E2BE51 #51E275 #5175E2 #E251BE
split-complementary
#E2BE51 #51BEE2 #7551E2
monochromatic
#9E7D1A #D3A723 #E2BE51 #EBD285 #F3E5BA

Accessibility & contrast

On white

1.79
#E2BE51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#E2BE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2BE51
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2BE51#FFFFFF#000000##000000
##E2BE511.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC45
Deuteranopia (green-blind)
#DAC656
Tritanopia (blue-blind)
#F4B0A7
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #e2be51;
/* rgb */ color: rgb(226, 190, 81);
/* oklch */ color: oklch(81.3% 0.133 90.8);
Tailwind
colors: {
  custom: {
    50: '#efd186',
    500: '#e2be51',
    950: '#000000',
  },
}
SCSS
$custom: #e2be51;
$custom-light: #efd186;
$custom-dark: #000000;
JSON
{
  "hex": "#e2be51",
  "rgb": {
    "r": 226,
    "g": 190,
    "b": 81
  },
  "hsl": {
    "h": 45.103,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81268,
    "c": 0.13264,
    "h": 90.8
  },
  "luminance": 0.5359
}

Semantic roles & 50–950 ramp

primary
#E2BE51
secondary
#3651A1
accent
#42D312
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2BE51

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

Preview Lab → · Contrast checker → · Palette generator →

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