#E2BF52#E2BF52

#E2BF52 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.5% C 0.132 H 91.3°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#E2BF52
RGBrgb(226, 191, 82)
HSLhsl(45, 71%, 60%)
HSVhsv(45, 64%, 89%)
CMYKcmyk(0%, 15.5%, 63.7%, 11.4%)
CIE-LABlab(78.49, 0.41, 58.03)
CIE-LCHlch(78.49, 58.04, 89.60°)
OKLaboklab(81.48% -0.0031 0.1325)
OKLCHoklch(81.48% 0.132 91.3)
XYZxyz(51.5203, 54.0424, 15.6985)
Luminance0.5404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BF52 #5275E2
analogous
#E27752 #E2BF52 #BDE252
triadic
#E2BF52 #52E2BF #BF52E2
tetradic
#E2BF52 #52E277 #5275E2 #E252BD
square
#E2BF52 #52E277 #5275E2 #E252BD
split-complementary
#E2BF52 #52BDE2 #7752E2
monochromatic
#9F7F1B #D3A923 #E2BF52 #EBD286 #F4E6BB

Accessibility & contrast

On white

1.78
#E2BF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#E2BF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2BF52
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2BF52#FFFFFF#000000##000000
##E2BF521.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC46
Deuteranopia (green-blind)
#DBC657
Tritanopia (blue-blind)
#F3B1A8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #e2bf52;
/* rgb */ color: rgb(226, 191, 82);
/* oklch */ color: oklch(81.5% 0.132 91.3);
Tailwind
colors: {
  custom: {
    50: '#efd287',
    500: '#e2bf52',
    950: '#000000',
  },
}
SCSS
$custom: #e2bf52;
$custom-light: #efd287;
$custom-dark: #000000;
JSON
{
  "hex": "#e2bf52",
  "rgb": {
    "r": 226,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 45.417,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.81478,
    "c": 0.13249,
    "h": 91.3
  },
  "luminance": 0.5404
}

Semantic roles & 50–950 ramp

primary
#E2BF52
secondary
#3650A2
accent
#41D312
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2BF52

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

Preview Lab → · Contrast checker → · Palette generator →

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