#E2BF45#E2BF45

#E2BF45 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.4% C 0.142 H 92.7°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#E2BF45
RGBrgb(226, 191, 69)
HSLhsl(47, 73%, 58%)
HSVhsv(47, 69%, 89%)
CMYKcmyk(0%, 15.5%, 69.5%, 11.4%)
CIE-LABlab(78.38, -0.33, 63.40)
CIE-LCHlch(78.38, 63.41, 90.30°)
OKLaboklab(81.36% -0.0067 0.1417)
OKLCHoklch(81.36% 0.142 92.7)
XYZxyz(51.0717, 53.8629, 13.3356)
Luminance0.5386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BF45 #4568E2
analogous
#E27045 #E2BF45 #B7E245
triadic
#E2BF45 #45E2BF #BF45E2
tetradic
#E2BF45 #45E270 #4568E2 #E245B7
square
#E2BF45 #45E270 #4568E2 #E245B7
split-complementary
#E2BF45 #45B7E2 #7045E2
monochromatic
#957917 #CAA420 #E2BF45 #EAD17A #F3E3AF

Accessibility & contrast

On white

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

On black

11.77
#E2BF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2BF45
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2BF45#FFFFFF#000000##000000
##E2BF451.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC34
Deuteranopia (green-blind)
#DCC64B
Tritanopia (blue-blind)
#F4B0A6
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #e2bf45;
/* rgb */ color: rgb(226, 191, 69);
/* oklch */ color: oklch(81.4% 0.142 92.7);
Tailwind
colors: {
  custom: {
    50: '#efd17f',
    500: '#e2bf45',
    950: '#000000',
  },
}
SCSS
$custom: #e2bf45;
$custom-light: #efd17f;
$custom-dark: #000000;
JSON
{
  "hex": "#e2bf45",
  "rgb": {
    "r": 226,
    "g": 191,
    "b": 69
  },
  "hsl": {
    "h": 46.624,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81362,
    "c": 0.14191,
    "h": 92.7
  },
  "luminance": 0.5386
}

Semantic roles & 50–950 ramp

primary
#E2BF45
secondary
#32499A
accent
#61F038
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2BF45

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

Preview Lab → · Contrast checker → · Palette generator →

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