#E4BF48#E4BF48

#E4BF48 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.6% C 0.140 H 91.5°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#E4BF48
RGBrgb(228, 191, 72)
HSLhsl(46, 74%, 59%)
HSVhsv(46, 68%, 89%)
CMYKcmyk(0%, 16.2%, 68.4%, 10.6%)
CIE-LABlab(78.59, 0.68, 62.47)
CIE-LCHlch(78.59, 62.47, 89.38°)
OKLaboklab(81.58% -0.0036 0.1402)
OKLCHoklch(81.58% 0.14 91.5)
XYZxyz(51.7981, 54.2265, 13.8681)
Luminance0.5422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4BF48 #486DE4
analogous
#E47148 #E4BF48 #BBE448
triadic
#E4BF48 #48E4BF #BF48E4
tetradic
#E4BF48 #48E471 #486DE4 #E448BB
square
#E4BF48 #48E471 #486DE4 #E448BB
split-complementary
#E4BF48 #48BBE4 #7148E4
monochromatic
#9B7B17 #D0A61F #E4BF48 #ECD27D #F4E4B3

Accessibility & contrast

On white

1.77
#E4BF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#E4BF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4BF48
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4BF48#FFFFFF#000000##000000
##E4BF481.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4bf48;
/* rgb */ color: rgb(228, 191, 72);
/* oklch */ color: oklch(81.6% 0.140 91.5);
Tailwind
colors: {
  custom: {
    50: '#f0d281',
    500: '#e4bf48',
    950: '#000000',
  },
}
SCSS
$custom: #e4bf48;
$custom-light: #f0d281;
$custom-dark: #000000;
JSON
{
  "hex": "#e4bf48",
  "rgb": {
    "r": 228,
    "g": 191,
    "b": 72
  },
  "hsl": {
    "h": 45.769,
    "s": 74.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.8158,
    "c": 0.14026,
    "h": 91.5
  },
  "luminance": 0.54223
}

Semantic roles & 50–950 ramp

primary
#E4BF48
secondary
#324C9E
accent
#63F137
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E4BF48

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

Preview Lab → · Contrast checker → · Palette generator →

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