#E2BF48#E2BF48

#E2BF48 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.4% C 0.140 H 92.4°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#E2BF48
RGBrgb(226, 191, 72)
HSLhsl(46, 73%, 58%)
HSVhsv(46, 68%, 89%)
CMYKcmyk(0%, 15.5%, 68.1%, 11.4%)
CIE-LABlab(78.40, -0.17, 62.21)
CIE-LCHlch(78.40, 62.21, 90.16°)
OKLaboklab(81.39% -0.0059 0.1397)
OKLCHoklch(81.39% 0.14 92.4)
XYZxyz(51.1672, 53.9011, 13.8385)
Luminance0.5390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BF48 #486BE2
analogous
#E27248 #E2BF48 #B8E248
triadic
#E2BF48 #48E2BF #BF48E2
tetradic
#E2BF48 #48E272 #486BE2 #E248B8
square
#E2BF48 #48E272 #486BE2 #E248B8
split-complementary
#E2BF48 #48B8E2 #7248E2
monochromatic
#987B18 #CCA520 #E2BF48 #EAD17D #F3E4B2

Accessibility & contrast

On white

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

On black

11.78
#E2BF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2BF48
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2BF48#FFFFFF#000000##000000
##E2BF481.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC38
Deuteranopia (green-blind)
#DCC64E
Tritanopia (blue-blind)
#F4B0A6
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #e2bf48;
/* rgb */ color: rgb(226, 191, 72);
/* oklch */ color: oklch(81.4% 0.140 92.4);
Tailwind
colors: {
  custom: {
    50: '#efd281',
    500: '#e2bf48',
    950: '#000000',
  },
}
SCSS
$custom: #e2bf48;
$custom-light: #efd281;
$custom-dark: #000000;
JSON
{
  "hex": "#e2bf48",
  "rgb": {
    "r": 226,
    "g": 191,
    "b": 72
  },
  "hsl": {
    "h": 46.364,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81386,
    "c": 0.13985,
    "h": 92.4
  },
  "luminance": 0.53898
}

Semantic roles & 50–950 ramp

primary
#E2BF48
secondary
#334B9C
accent
#62EF38
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2BF48

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

Preview Lab → · Contrast checker → · Palette generator →

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