#E7BF41#E7BF41

#E7BF41 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.8% C 0.145 H 90.7°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#E7BF41
RGBrgb(231, 191, 65)
HSLhsl(46, 78%, 58%)
HSVhsv(46, 72%, 91%)
CMYKcmyk(0%, 17.3%, 71.9%, 9.4%)
CIE-LABlab(78.83, 1.60, 65.58)
CIE-LCHlch(78.83, 65.60, 88.60°)
OKLaboklab(81.82% -0.0019 0.1455)
OKLCHoklch(81.82% 0.145 90.7)
XYZxyz(52.5429, 54.6354, 12.7782)
Luminance0.5463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7BF41 #4169E7
analogous
#E76C41 #E7BF41 #BCE741
triadic
#E7BF41 #41E7BF #BF41E7
tetradic
#E7BF41 #41E76C #4169E7 #E741BC
square
#E7BF41 #41E76C #4169E7 #E741BC
split-complementary
#E7BF41 #41BCE7 #6C41E7
monochromatic
#9A7A13 #D0A51A #E7BF41 #EED177 #F5E4AE

Accessibility & contrast

On white

1.76
#E7BF41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#E7BF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7BF41
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7BF41#FFFFFF#000000##000000
##E7BF411.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD2E
Deuteranopia (green-blind)
#DEC848
Tritanopia (blue-blind)
#FAAFA6
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e7bf41;
/* rgb */ color: rgb(231, 191, 65);
/* oklch */ color: oklch(81.8% 0.145 90.7);
Tailwind
colors: {
  custom: {
    50: '#f3d17d',
    500: '#e7bf41',
    950: '#000000',
  },
}
SCSS
$custom: #e7bf41;
$custom-light: #f3d17d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7bf41",
  "rgb": {
    "r": 231,
    "g": 191,
    "b": 65
  },
  "hsl": {
    "h": 45.542,
    "s": 77.57,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81818,
    "c": 0.14546,
    "h": 90.7
  },
  "luminance": 0.54632
}

Semantic roles & 50–950 ramp

primary
#E7BF41
secondary
#2F499E
accent
#62F434
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140A
muted
#86837D

Preview Lab

Preview with #E7BF41

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

Preview Lab → · Contrast checker → · Palette generator →

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