#E2BF4E#E2BF4E

#E2BF4E is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.4% C 0.136 H 91.8°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#E2BF4E
RGBrgb(226, 191, 78)
HSLhsl(46, 72%, 60%)
HSVhsv(46, 65%, 89%)
CMYKcmyk(0%, 15.5%, 65.5%, 11.4%)
CIE-LABlab(78.45, 0.17, 59.74)
CIE-LCHlch(78.45, 59.74, 89.84°)
OKLaboklab(81.44% -0.0042 0.1355)
OKLCHoklch(81.44% 0.136 91.8)
XYZxyz(51.3725, 53.9833, 14.9202)
Luminance0.5398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BF4E #4E71E2
analogous
#E2754E #E2BF4E #BBE24E
triadic
#E2BF4E #4EE2BF #BF4EE2
tetradic
#E2BF4E #4EE275 #4E71E2 #E24EBB
square
#E2BF4E #4EE275 #4E71E2 #E24EBB
split-complementary
#E2BF4E #4EBBE2 #754EE2
monochromatic
#9C7D1A #D1A722 #E2BF4E #EBD283 #F3E5B7

Accessibility & contrast

On white

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

On black

11.80
#E2BF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2BF4E
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2BF4E#FFFFFF#000000##000000
##E2BF4E1.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC41
Deuteranopia (green-blind)
#DBC653
Tritanopia (blue-blind)
#F4B0A7
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #e2bf4e;
/* rgb */ color: rgb(226, 191, 78);
/* oklch */ color: oklch(81.4% 0.136 91.8);
Tailwind
colors: {
  custom: {
    50: '#efd285',
    500: '#e2bf4e',
    950: '#000000',
  },
}
SCSS
$custom: #e2bf4e;
$custom-light: #efd285;
$custom-dark: #000000;
JSON
{
  "hex": "#e2bf4e",
  "rgb": {
    "r": 226,
    "g": 191,
    "b": 78
  },
  "hsl": {
    "h": 45.811,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.8144,
    "c": 0.13554,
    "h": 91.8
  },
  "luminance": 0.5398
}

Semantic roles & 50–950 ramp

primary
#E2BF4E
secondary
#354E9F
accent
#64EF39
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2BF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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