#E7BF38#E7BF38

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

Color values

HEX#E7BF38
RGBrgb(231, 191, 56)
HSLhsl(46, 78%, 56%)
HSVhsv(46, 76%, 91%)
CMYKcmyk(0%, 17.3%, 75.8%, 9.4%)
CIE-LABlab(78.78, 1.22, 68.83)
CIE-LCHlch(78.78, 68.84, 88.99°)
OKLaboklab(81.76% -0.004 0.1506)
OKLCHoklch(81.76% 0.151 91.5)
XYZxyz(52.3026, 54.5393, 11.5129)
Luminance0.5454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7BF38 #3860E7
analogous
#E76838 #E7BF38 #B7E738
triadic
#E7BF38 #38E7BF #BF38E7
tetradic
#E7BF38 #38E768 #3860E7 #E738B7
square
#E7BF38 #38E768 #3860E7 #E738B7
split-complementary
#E7BF38 #38B7E7 #6838E7
monochromatic
#937512 #CAA118 #E7BF38 #EED16F #F4E2A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7BF38#FFFFFF#000000##000000
##E7BF381.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)
#D5BC1F
Deuteranopia (green-blind)
#DEC840
Tritanopia (blue-blind)
#FAAFA5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e7bf38;
/* rgb */ color: rgb(231, 191, 56);
/* oklch */ color: oklch(81.8% 0.151 91.5);
Tailwind
colors: {
  custom: {
    50: '#f3d178',
    500: '#e7bf38',
    950: '#000000',
  },
}
SCSS
$custom: #e7bf38;
$custom-light: #f3d178;
$custom-dark: #000000;
JSON
{
  "hex": "#e7bf38",
  "rgb": {
    "r": 231,
    "g": 191,
    "b": 56
  },
  "hsl": {
    "h": 46.286,
    "s": 78.475,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81756,
    "c": 0.15068,
    "h": 91.5
  },
  "luminance": 0.54536
}

Semantic roles & 50–950 ramp

primary
#E7BF38
secondary
#2C4497
accent
#5FF533
background
#FFFEFB
surface
#FFFBF1
border
#D7D4CB
text
#18140A
muted
#86837D

Preview Lab

Preview with #E7BF38

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

Preview Lab → · Contrast checker → · Palette generator →

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