#E2BF56#E2BF56

#E2BF56 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.5% C 0.129 H 90.8°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#E2BF56
RGBrgb(226, 191, 86)
HSLhsl(45, 71%, 61%)
HSVhsv(45, 62%, 89%)
CMYKcmyk(0%, 15.5%, 61.9%, 11.4%)
CIE-LABlab(78.52, 0.66, 56.29)
CIE-LCHlch(78.52, 56.30, 89.32°)
OKLaboklab(81.52% -0.0018 0.1293)
OKLCHoklch(81.52% 0.129 90.8)
XYZxyz(51.6770, 54.1051, 16.5237)
Luminance0.5410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BF56 #5679E2
analogous
#E27956 #E2BF56 #BFE256
triadic
#E2BF56 #56E2BF #BF56E2
tetradic
#E2BF56 #56E279 #5679E2 #E256BF
square
#E2BF56 #56E279 #5679E2 #E256BF
split-complementary
#E2BF56 #56BFE2 #7956E2
monochromatic
#A2801C #D6AA25 #E2BF56 #EBD38A #F4E7BE

Accessibility & contrast

On white

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

On black

11.82
#E2BF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2BF56
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2BF56#FFFFFF#000000##000000
##E2BF561.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD4B
Deuteranopia (green-blind)
#DBC65B
Tritanopia (blue-blind)
#F3B1A8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #e2bf56;
/* rgb */ color: rgb(226, 191, 86);
/* oklch */ color: oklch(81.5% 0.129 90.8);
Tailwind
colors: {
  custom: {
    50: '#eed289',
    500: '#e2bf56',
    950: '#000000',
  },
}
SCSS
$custom: #e2bf56;
$custom-light: #eed289;
$custom-dark: #000000;
JSON
{
  "hex": "#e2bf56",
  "rgb": {
    "r": 226,
    "g": 191,
    "b": 86
  },
  "hsl": {
    "h": 45,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.81518,
    "c": 0.12931,
    "h": 90.8
  },
  "luminance": 0.54102
}

Semantic roles & 50–950 ramp

primary
#E2BF56
secondary
#3853A5
accent
#43D313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2BF56

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

Preview Lab → · Contrast checker → · Palette generator →

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