#E7BF46#E7BF46

#E7BF46 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.9% C 0.142 H 90.3°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#E7BF46
RGBrgb(231, 191, 70)
HSLhsl(45, 77%, 59%)
HSVhsv(45, 70%, 91%)
CMYKcmyk(0%, 17.3%, 69.7%, 9.4%)
CIE-LABlab(78.87, 1.85, 63.65)
CIE-LCHlch(78.87, 63.67, 88.34°)
OKLaboklab(81.86% -0.0006 0.1423)
OKLCHoklch(81.86% 0.142 90.3)
XYZxyz(52.6942, 54.6959, 13.5751)
Luminance0.5469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7BF46 #466EE7
analogous
#E76F46 #E7BF46 #BFE746
triadic
#E7BF46 #46E7BF #BF46E7
tetradic
#E7BF46 #46E76F #466EE7 #E746BF
square
#E7BF46 #46E76F #466EE7 #E746BF
split-complementary
#E7BF46 #46BFE7 #6F46E7
monochromatic
#9E7C15 #D4A61C #E7BF46 #EED27C #F5E4B2

Accessibility & contrast

On white

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

On black

11.94
#E7BF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7BF46
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7BF46#FFFFFF#000000##000000
##E7BF461.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7bf46;
/* rgb */ color: rgb(231, 191, 70);
/* oklch */ color: oklch(81.9% 0.142 90.3);
Tailwind
colors: {
  custom: {
    50: '#f3d180',
    500: '#e7bf46',
    950: '#000000',
  },
}
SCSS
$custom: #e7bf46;
$custom-light: #f3d180;
$custom-dark: #000000;
JSON
{
  "hex": "#e7bf46",
  "rgb": {
    "r": 231,
    "g": 191,
    "b": 70
  },
  "hsl": {
    "h": 45.093,
    "s": 77.033,
    "l": 59.02
  },
  "oklch": {
    "l": 0.81856,
    "c": 0.14226,
    "h": 90.3
  },
  "luminance": 0.54693
}

Semantic roles & 50–950 ramp

primary
#E7BF46
secondary
#304CA1
accent
#64F434
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #E7BF46

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

Preview Lab → · Contrast checker → · Palette generator →

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