#E7BF3B#E7BF3B

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

Color values

HEX#E7BF3B
RGBrgb(231, 191, 59)
HSLhsl(46, 78%, 57%)
HSVhsv(46, 74%, 91%)
CMYKcmyk(0%, 17.3%, 74.5%, 9.4%)
CIE-LABlab(78.79, 1.34, 67.78)
CIE-LCHlch(78.79, 67.80, 88.87°)
OKLaboklab(81.77% -0.0033 0.149)
OKLCHoklch(81.77% 0.149 91.3)
XYZxyz(52.3782, 54.5695, 11.9110)
Luminance0.5457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7BF3B #3B63E7
analogous
#E7693B #E7BF3B #B9E73B
triadic
#E7BF3B #3BE7BF #BF3BE7
tetradic
#E7BF3B #3BE769 #3B63E7 #E73BB9
square
#E7BF3B #3BE769 #3B63E7 #E73BB9
split-complementary
#E7BF3B #3BB9E7 #693BE7
monochromatic
#957712 #CCA219 #E7BF3B #EED172 #F4E3A8

Accessibility & contrast

On white

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

On black

11.91
#E7BF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7BF3B
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7BF3B#FFFFFF#000000##000000
##E7BF3B1.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC24
Deuteranopia (green-blind)
#DEC842
Tritanopia (blue-blind)
#FAAFA5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e7bf3b;
/* rgb */ color: rgb(231, 191, 59);
/* oklch */ color: oklch(81.8% 0.149 91.3);
Tailwind
colors: {
  custom: {
    50: '#f3d17a',
    500: '#e7bf3b',
    950: '#000000',
  },
}
SCSS
$custom: #e7bf3b;
$custom-light: #f3d17a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7bf3b",
  "rgb": {
    "r": 231,
    "g": 191,
    "b": 59
  },
  "hsl": {
    "h": 46.047,
    "s": 78.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81775,
    "c": 0.14903,
    "h": 91.3
  },
  "luminance": 0.54566
}

Semantic roles & 50–950 ramp

primary
#E7BF3B
secondary
#2D4699
accent
#60F533
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140A
muted
#86837D

Preview Lab

Preview with #E7BF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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