#E2BF3F#E2BF3F

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

Color values

HEX#E2BF3F
RGBrgb(226, 191, 63)
HSLhsl(47, 74%, 57%)
HSVhsv(47, 72%, 89%)
CMYKcmyk(0%, 15.5%, 72.1%, 11.4%)
CIE-LABlab(78.34, -0.62, 65.70)
CIE-LCHlch(78.34, 65.71, 90.54°)
OKLaboklab(81.32% -0.0082 0.1455)
OKLCHoklch(81.32% 0.146 93.2)
XYZxyz(50.8948, 53.7922, 12.4039)
Luminance0.5379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BF3F #3F62E2
analogous
#E26E3F #E2BF3F #B3E23F
triadic
#E2BF3F #3FE2BF #BF3FE2
tetradic
#E2BF3F #3FE26E #3F62E2 #E23FB3
square
#E2BF3F #3FE26E #3F62E2 #E23FB3
split-complementary
#E2BF3F #3FB3E2 #6E3FE2
monochromatic
#917616 #C6A21E #E2BF3F #EAD174 #F2E2A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2BF3F#FFFFFF#000000##000000
##E2BF3F1.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)
#D3BC2B
Deuteranopia (green-blind)
#DCC646
Tritanopia (blue-blind)
#F4B0A6
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #e2bf3f;
/* rgb */ color: rgb(226, 191, 63);
/* oklch */ color: oklch(81.3% 0.146 93.2);
Tailwind
colors: {
  custom: {
    50: '#efd17c',
    500: '#e2bf3f',
    950: '#000000',
  },
}
SCSS
$custom: #e2bf3f;
$custom-light: #efd17c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2bf3f",
  "rgb": {
    "r": 226,
    "g": 191,
    "b": 63
  },
  "hsl": {
    "h": 47.117,
    "s": 73.756,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81316,
    "c": 0.14576,
    "h": 93.2
  },
  "luminance": 0.53789
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2BF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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