#E2BD42#E2BD42

#E2BD42 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.9% C 0.143 H 91.8°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#E2BD42
RGBrgb(226, 189, 66)
HSLhsl(46, 73%, 57%)
HSVhsv(46, 71%, 89%)
CMYKcmyk(0%, 16.4%, 70.8%, 11.4%)
CIE-LABlab(77.85, 0.56, 64.06)
CIE-LCHlch(77.85, 64.06, 89.50°)
OKLaboklab(80.94% -0.0045 0.1426)
OKLCHoklch(80.94% 0.143 91.8)
XYZxyz(50.5477, 52.9603, 12.7131)
Luminance0.5296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BD42 #4267E2
analogous
#E26D42 #E2BD42 #B7E242
triadic
#E2BD42 #42E2BD #BD42E2
tetradic
#E2BD42 #42E26D #4267E2 #E242B7
square
#E2BD42 #42E26D #4267E2 #E242B7
split-complementary
#E2BD42 #42B7E2 #6D42E2
monochromatic
#937617 #C8A11F #E2BD42 #EAD077 #F2E2AC

Accessibility & contrast

On white

1.81
#E2BD42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#E2BD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2BD42
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2BD42#FFFFFF#000000##000000
##E2BD421.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA30
Deuteranopia (green-blind)
#DBC548
Tritanopia (blue-blind)
#F4AEA4
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #e2bd42;
/* rgb */ color: rgb(226, 189, 66);
/* oklch */ color: oklch(80.9% 0.143 91.8);
Tailwind
colors: {
  custom: {
    50: '#efd07d',
    500: '#e2bd42',
    950: '#000000',
  },
}
SCSS
$custom: #e2bd42;
$custom-light: #efd07d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2bd42",
  "rgb": {
    "r": 226,
    "g": 189,
    "b": 66
  },
  "hsl": {
    "h": 46.125,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80936,
    "c": 0.14267,
    "h": 91.8
  },
  "luminance": 0.52957
}

Semantic roles & 50–950 ramp

primary
#E2BD42
secondary
#314898
accent
#62F038
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #E2BD42

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

Preview Lab → · Contrast checker → · Palette generator →

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