#E7BE3B#E7BE3B

#E7BE3B is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.6% C 0.148 H 90.7°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#E7BE3B
RGBrgb(231, 190, 59)
HSLhsl(46, 78%, 57%)
HSVhsv(46, 74%, 91%)
CMYKcmyk(0%, 17.7%, 74.5%, 9.4%)
CIE-LABlab(78.54, 1.86, 67.54)
CIE-LCHlch(78.54, 67.57, 88.42°)
OKLaboklab(81.58% -0.0018 0.1485)
OKLCHoklch(81.58% 0.148 90.7)
XYZxyz(52.1609, 54.1349, 11.8385)
Luminance0.5413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7BE3B #3B64E7
analogous
#E7683B #E7BE3B #BAE73B
triadic
#E7BE3B #3BE7BE #BE3BE7
tetradic
#E7BE3B #3BE768 #3B64E7 #E73BBA
square
#E7BE3B #3BE768 #3B64E7 #E73BBA
split-complementary
#E7BE3B #3BBAE7 #683BE7
monochromatic
#957612 #CCA119 #E7BE3B #EED072 #F4E2A8

Accessibility & contrast

On white

1.78
#E7BE3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#E7BE3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7BE3B
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7BE3B#FFFFFF#000000##000000
##E7BE3B1.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7be3b;
/* rgb */ color: rgb(231, 190, 59);
/* oklch */ color: oklch(81.6% 0.148 90.7);
Tailwind
colors: {
  custom: {
    50: '#f3d17a',
    500: '#e7be3b',
    950: '#000000',
  },
}
SCSS
$custom: #e7be3b;
$custom-light: #f3d17a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7be3b",
  "rgb": {
    "r": 231,
    "g": 190,
    "b": 59
  },
  "hsl": {
    "h": 45.698,
    "s": 78.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81576,
    "c": 0.14848,
    "h": 90.7
  },
  "luminance": 0.54132
}

Semantic roles & 50–950 ramp

primary
#E7BE3B
secondary
#2D4799
accent
#61F533
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140A
muted
#86837D

Preview Lab

Preview with #E7BE3B

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

Preview Lab → · Contrast checker → · Palette generator →

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