#E7BD3B#E7BD3B

#E7BD3B is a light, vivid yellow. Relative luminance 0.537; OKLCH L 81.4% C 0.148 H 90.1°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#E7BD3B
RGBrgb(231, 189, 59)
HSLhsl(45, 78%, 57%)
HSVhsv(45, 74%, 91%)
CMYKcmyk(0%, 18.2%, 74.5%, 9.4%)
CIE-LABlab(78.29, 2.38, 67.30)
CIE-LCHlch(78.29, 67.34, 87.98°)
OKLaboklab(81.38% -0.0003 0.148)
OKLCHoklch(81.38% 0.148 90.1)
XYZxyz(51.9450, 53.7032, 11.7666)
Luminance0.5370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7BD3B #3B65E7
analogous
#E7673B #E7BD3B #BBE73B
triadic
#E7BD3B #3BE7BD #BD3BE7
tetradic
#E7BD3B #3BE767 #3B65E7 #E73BBB
square
#E7BD3B #3BE767 #3B65E7 #E73BBB
split-complementary
#E7BD3B #3BBBE7 #673BE7
monochromatic
#957512 #CCA019 #E7BD3B #EECF72 #F4E2A8

Accessibility & contrast

On white

1.79
#E7BD3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#E7BD3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7BD3B
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7BD3B#FFFFFF#000000##000000
##E7BD3B1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB25
Deuteranopia (green-blind)
#DDC742
Tritanopia (blue-blind)
#FAADA4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #e7bd3b;
/* rgb */ color: rgb(231, 189, 59);
/* oklch */ color: oklch(81.4% 0.148 90.1);
Tailwind
colors: {
  custom: {
    50: '#f3d07a',
    500: '#e7bd3b',
    950: '#000000',
  },
}
SCSS
$custom: #e7bd3b;
$custom-light: #f3d07a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7bd3b",
  "rgb": {
    "r": 231,
    "g": 189,
    "b": 59
  },
  "hsl": {
    "h": 45.349,
    "s": 78.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81378,
    "c": 0.14796,
    "h": 90.1
  },
  "luminance": 0.537
}

Semantic roles & 50–950 ramp

primary
#E7BD3B
secondary
#2D4799
accent
#62F533
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18130A
muted
#86837D

Preview Lab

Preview with #E7BD3B

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

Preview Lab → · Contrast checker → · Palette generator →

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