#E2BF40#E2BF40

#E2BF40 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 81.3% C 0.145 H 93.1°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#E2BF40
RGBrgb(226, 191, 64)
HSLhsl(47, 74%, 57%)
HSVhsv(47, 72%, 89%)
CMYKcmyk(0%, 15.5%, 71.7%, 11.4%)
CIE-LABlab(78.35, -0.57, 65.33)
CIE-LCHlch(78.35, 65.33, 90.50°)
OKLaboklab(81.32% -0.008 0.1449)
OKLCHoklch(81.32% 0.145 93.1)
XYZxyz(50.9230, 53.8034, 12.5524)
Luminance0.5380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BF40 #4063E2
analogous
#E26E40 #E2BF40 #B4E240
triadic
#E2BF40 #40E2BF #BF40E2
tetradic
#E2BF40 #40E26E #4063E2 #E240B4
square
#E2BF40 #40E26E #4063E2 #E240B4
split-complementary
#E2BF40 #40B4E2 #6E40E2
monochromatic
#927716 #C7A21E #E2BF40 #EAD175 #F2E3AA

Accessibility & contrast

On white

1.79
#E2BF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#E2BF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2BF40
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2BF40#FFFFFF#000000##000000
##E2BF401.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2bf40;
/* rgb */ color: rgb(226, 191, 64);
/* oklch */ color: oklch(81.3% 0.145 93.1);
Tailwind
colors: {
  custom: {
    50: '#efd17d',
    500: '#e2bf40',
    950: '#000000',
  },
}
SCSS
$custom: #e2bf40;
$custom-light: #efd17d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2bf40",
  "rgb": {
    "r": 226,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 47.037,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81323,
    "c": 0.14514,
    "h": 93.1
  },
  "luminance": 0.53801
}

Semantic roles & 50–950 ramp

primary
#E2BF40
secondary
#304696
accent
#5FF038
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #E2BF40

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

Preview Lab → · Contrast checker → · Palette generator →

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