#E2BF4F#E2BF4F

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

Color values

HEX#E2BF4F
RGBrgb(226, 191, 79)
HSLhsl(46, 72%, 60%)
HSVhsv(46, 65%, 89%)
CMYKcmyk(0%, 15.5%, 65%, 11.4%)
CIE-LABlab(78.46, 0.23, 59.32)
CIE-LCHlch(78.46, 59.32, 89.78°)
OKLaboklab(81.45% -0.0039 0.1347)
OKLCHoklch(81.45% 0.135 91.7)
XYZxyz(51.4087, 53.9977, 15.1104)
Luminance0.5400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BF4F #4F72E2
analogous
#E2754F #E2BF4F #BCE24F
triadic
#E2BF4F #4FE2BF #BF4FE2
tetradic
#E2BF4F #4FE275 #4F72E2 #E24FBC
square
#E2BF4F #4FE275 #4F72E2 #E24FBC
split-complementary
#E2BF4F #4FBCE2 #754FE2
monochromatic
#9D7E1A #D1A822 #E2BF4F #EBD284 #F3E5B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2BF4F#FFFFFF#000000##000000
##E2BF4F1.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)
#D3BC42
Deuteranopia (green-blind)
#DBC654
Tritanopia (blue-blind)
#F4B0A7
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #e2bf4f;
/* rgb */ color: rgb(226, 191, 79);
/* oklch */ color: oklch(81.4% 0.135 91.7);
Tailwind
colors: {
  custom: {
    50: '#efd285',
    500: '#e2bf4f',
    950: '#000000',
  },
}
SCSS
$custom: #e2bf4f;
$custom-light: #efd285;
$custom-dark: #000000;
JSON
{
  "hex": "#e2bf4f",
  "rgb": {
    "r": 226,
    "g": 191,
    "b": 79
  },
  "hsl": {
    "h": 45.714,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.81449,
    "c": 0.13478,
    "h": 91.7
  },
  "luminance": 0.53995
}

Semantic roles & 50–950 ramp

primary
#E2BF4F
secondary
#354FA0
accent
#64EE39
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2BF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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