#E2BE52#E2BE52

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

Color values

HEX#E2BE52
RGBrgb(226, 190, 82)
HSLhsl(45, 71%, 60%)
HSVhsv(45, 64%, 89%)
CMYKcmyk(0%, 15.9%, 63.7%, 11.4%)
CIE-LABlab(78.23, 0.93, 57.76)
CIE-LCHlch(78.23, 57.77, 89.08°)
OKLaboklab(81.28% -0.0015 0.1319)
OKLCHoklch(81.28% 0.132 90.7)
XYZxyz(51.3030, 53.6077, 15.6261)
Luminance0.5361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BE52 #5276E2
analogous
#E27652 #E2BE52 #BEE252
triadic
#E2BE52 #52E2BE #BE52E2
tetradic
#E2BE52 #52E276 #5276E2 #E252BE
square
#E2BE52 #52E276 #5276E2 #E252BE
split-complementary
#E2BE52 #52BEE2 #7652E2
monochromatic
#9F7E1B #D3A723 #E2BE52 #EBD286 #F4E5BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2BE52#FFFFFF#000000##000000
##E2BE521.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)
#D1BC46
Deuteranopia (green-blind)
#DAC657
Tritanopia (blue-blind)
#F3B0A7
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #e2be52;
/* rgb */ color: rgb(226, 190, 82);
/* oklch */ color: oklch(81.3% 0.132 90.7);
Tailwind
colors: {
  custom: {
    50: '#efd187',
    500: '#e2be52',
    950: '#000000',
  },
}
SCSS
$custom: #e2be52;
$custom-light: #efd187;
$custom-dark: #000000;
JSON
{
  "hex": "#e2be52",
  "rgb": {
    "r": 226,
    "g": 190,
    "b": 82
  },
  "hsl": {
    "h": 45,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.81277,
    "c": 0.13187,
    "h": 90.7
  },
  "luminance": 0.53605
}

Semantic roles & 50–950 ramp

primary
#E2BE52
secondary
#3651A2
accent
#42D312
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2BE52

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

Preview Lab → · Contrast checker → · Palette generator →

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