#E2BE2E#E2BE2E

#E2BE2E is a light, vivid yellow. Relative luminance 0.532; OKLCH L 81.0% C 0.154 H 93.8°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#E2BE2E
RGBrgb(226, 190, 46)
HSLhsl(48, 76%, 53%)
HSVhsv(48, 80%, 89%)
CMYKcmyk(0%, 15.9%, 79.6%, 11.4%)
CIE-LABlab(77.99, -0.77, 71.21)
CIE-LCHlch(77.99, 71.21, 90.62°)
OKLaboklab(81.01% -0.0103 0.154)
OKLCHoklch(81.01% 0.154 93.8)
XYZxyz(50.2735, 53.1959, 10.2041)
Luminance0.5319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BE2E #2E52E2
analogous
#E2642E #E2BE2E #ACE22E
triadic
#E2BE2E #2EE2BE #BE2EE2
tetradic
#E2BE2E #2EE264 #2E52E2 #E22EAC
square
#E2BE2E #2EE264 #2E52E2 #E22EAC
split-complementary
#E2BE2E #2EACE2 #642EE2
monochromatic
#836D12 #B9991A #E2BE2E #E9CF64 #F1DF99

Accessibility & contrast

On white

1.80
#E2BE2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#E2BE2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2BE2E
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2BE2E#FFFFFF#000000##000000
##E2BE2E1.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB03
Deuteranopia (green-blind)
#DCC538
Tritanopia (blue-blind)
#F5AEA3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #e2be2e;
/* rgb */ color: rgb(226, 190, 46);
/* oklch */ color: oklch(81.0% 0.154 93.8);
Tailwind
colors: {
  custom: {
    50: '#f0d173',
    500: '#e2be2e',
    950: '#000000',
  },
}
SCSS
$custom: #e2be2e;
$custom-light: #f0d173;
$custom-dark: #000000;
JSON
{
  "hex": "#e2be2e",
  "rgb": {
    "r": 226,
    "g": 190,
    "b": 46
  },
  "hsl": {
    "h": 48,
    "s": 75.63,
    "l": 53.333
  },
  "oklch": {
    "l": 0.81009,
    "c": 0.15429,
    "h": 93.8
  },
  "luminance": 0.53193
}

Semantic roles & 50–950 ramp

primary
#E2BE2E
secondary
#2A3D8A
accent
#5BF236
background
#FFFEFB
surface
#FFFBF1
border
#D7D4CB
text
#171409
muted
#85837D

Preview Lab

Preview with #E2BE2E

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

Preview Lab → · Contrast checker → · Palette generator →

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