#E1BF52#E1BF52

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

Color values

HEX#E1BF52
RGBrgb(225, 191, 82)
HSLhsl(46, 70%, 60%)
HSVhsv(46, 64%, 88%)
CMYKcmyk(0%, 15.1%, 63.6%, 11.8%)
CIE-LABlab(78.39, -0.01, 57.91)
CIE-LCHlch(78.39, 57.91, 90.01°)
OKLaboklab(81.38% -0.0042 0.1322)
OKLCHoklch(81.38% 0.132 91.8)
XYZxyz(51.2076, 53.8811, 15.6839)
Luminance0.5388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1BF52 #5274E1
analogous
#E17752 #E1BF52 #BCE152
triadic
#E1BF52 #52E1BF #BF52E1
tetradic
#E1BF52 #52E177 #5274E1 #E152BC
square
#E1BF52 #52E177 #5274E1 #E152BC
split-complementary
#E1BF52 #52BCE1 #7752E1
monochromatic
#9D7E1B #D1A824 #E1BF52 #EAD286 #F3E6BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E1BF52#FFFFFF#000000##000000
##E1BF521.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)
#D2BC46
Deuteranopia (green-blind)
#DBC657
Tritanopia (blue-blind)
#F2B1A8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #e1bf52;
/* rgb */ color: rgb(225, 191, 82);
/* oklch */ color: oklch(81.4% 0.132 91.8);
Tailwind
colors: {
  custom: {
    50: '#eed287',
    500: '#e1bf52',
    950: '#000000',
  },
}
SCSS
$custom: #e1bf52;
$custom-light: #eed287;
$custom-dark: #000000;
JSON
{
  "hex": "#e1bf52",
  "rgb": {
    "r": 225,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 45.734,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81382,
    "c": 0.13227,
    "h": 91.8
  },
  "luminance": 0.53878
}

Semantic roles & 50–950 ramp

primary
#E1BF52
secondary
#3750A1
accent
#41D213
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E1BF52

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

Preview Lab → · Contrast checker → · Palette generator →

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