#E2BF54#E2BF54

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

Color values

HEX#E2BF54
RGBrgb(226, 191, 84)
HSLhsl(45, 71%, 61%)
HSVhsv(45, 63%, 89%)
CMYKcmyk(0%, 15.5%, 62.8%, 11.4%)
CIE-LABlab(78.50, 0.53, 57.17)
CIE-LCHlch(78.50, 57.17, 89.46°)
OKLaboklab(81.5% -0.0024 0.1309)
OKLCHoklch(81.5% 0.131 91.1)
XYZxyz(51.5976, 54.0733, 16.1052)
Luminance0.5407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BF54 #5477E2
analogous
#E27854 #E2BF54 #BEE254
triadic
#E2BF54 #54E2BF #BF54E2
tetradic
#E2BF54 #54E278 #5477E2 #E254BE
square
#E2BF54 #54E278 #5477E2 #E254BE
split-complementary
#E2BF54 #54BEE2 #7854E2
monochromatic
#A0801B #D5A924 #E2BF54 #EBD388 #F4E6BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2BF54#FFFFFF#000000##000000
##E2BF541.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)
#D2BC48
Deuteranopia (green-blind)
#DBC659
Tritanopia (blue-blind)
#F3B1A8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #e2bf54;
/* rgb */ color: rgb(226, 191, 84);
/* oklch */ color: oklch(81.5% 0.131 91.1);
Tailwind
colors: {
  custom: {
    50: '#eed288',
    500: '#e2bf54',
    950: '#000000',
  },
}
SCSS
$custom: #e2bf54;
$custom-light: #eed288;
$custom-dark: #000000;
JSON
{
  "hex": "#e2bf54",
  "rgb": {
    "r": 226,
    "g": 191,
    "b": 84
  },
  "hsl": {
    "h": 45.211,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.81498,
    "c": 0.13091,
    "h": 91.1
  },
  "luminance": 0.5407
}

Semantic roles & 50–950 ramp

primary
#E2BF54
secondary
#3752A3
accent
#42D312
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2BF54

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

Preview Lab → · Contrast checker → · Palette generator →

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