#E2BF51#E2BF51

#E2BF51 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.5% C 0.133 H 91.4°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#E2BF51
RGBrgb(226, 191, 81)
HSLhsl(46, 71%, 60%)
HSVhsv(46, 64%, 89%)
CMYKcmyk(0%, 15.5%, 64.2%, 11.4%)
CIE-LABlab(78.48, 0.35, 58.46)
CIE-LCHlch(78.48, 58.47, 89.66°)
OKLaboklab(81.47% -0.0033 0.1332)
OKLCHoklch(81.47% 0.133 91.4)
XYZxyz(51.4826, 54.0273, 15.4996)
Luminance0.5402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BF51 #5174E2
analogous
#E27651 #E2BF51 #BDE251
triadic
#E2BF51 #51E2BF #BF51E2
tetradic
#E2BF51 #51E276 #5174E2 #E251BD
square
#E2BF51 #51E276 #5174E2 #E251BD
split-complementary
#E2BF51 #51BDE2 #7651E2
monochromatic
#9E7E1A #D3A823 #E2BF51 #EBD285 #F3E6BA

Accessibility & contrast

On white

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

On black

11.80
#E2BF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2BF51
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2BF51#FFFFFF#000000##000000
##E2BF511.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC44
Deuteranopia (green-blind)
#DBC656
Tritanopia (blue-blind)
#F3B1A7
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #e2bf51;
/* rgb */ color: rgb(226, 191, 81);
/* oklch */ color: oklch(81.5% 0.133 91.4);
Tailwind
colors: {
  custom: {
    50: '#efd286',
    500: '#e2bf51',
    950: '#000000',
  },
}
SCSS
$custom: #e2bf51;
$custom-light: #efd286;
$custom-dark: #000000;
JSON
{
  "hex": "#e2bf51",
  "rgb": {
    "r": 226,
    "g": 191,
    "b": 81
  },
  "hsl": {
    "h": 45.517,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81468,
    "c": 0.13326,
    "h": 91.4
  },
  "luminance": 0.54024
}

Semantic roles & 50–950 ramp

primary
#E2BF51
secondary
#3650A1
accent
#41D312
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2BF51

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

Preview Lab → · Contrast checker → · Palette generator →

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