#E4BF4F#E4BF4F

#E4BF4F is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.6% C 0.135 H 90.7°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#E4BF4F
RGBrgb(228, 191, 79)
HSLhsl(45, 73%, 60%)
HSVhsv(45, 65%, 89%)
CMYKcmyk(0%, 16.2%, 65.4%, 10.6%)
CIE-LABlab(78.65, 1.07, 59.58)
CIE-LCHlch(78.65, 59.58, 88.97°)
OKLaboklab(81.64% -0.0016 0.1352)
OKLCHoklch(81.64% 0.135 90.7)
XYZxyz(52.0396, 54.3231, 15.1400)
Luminance0.5432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4BF4F #4F74E4
analogous
#E4754F #E4BF4F #BEE44F
triadic
#E4BF4F #4FE4BF #BF4FE4
tetradic
#E4BF4F #4FE475 #4F74E4 #E44FBE
square
#E4BF4F #4FE475 #4F74E4 #E44FBE
split-complementary
#E4BF4F #4FBEE4 #754FE4
monochromatic
#A07E19 #D5A821 #E4BF4F #ECD284 #F4E6B9

Accessibility & contrast

On white

1.77
#E4BF4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#E4BF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4BF4F
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4BF4F#FFFFFF#000000##000000
##E4BF4F1.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD42
Deuteranopia (green-blind)
#DCC754
Tritanopia (blue-blind)
#F6B0A7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e4bf4f;
/* rgb */ color: rgb(228, 191, 79);
/* oklch */ color: oklch(81.6% 0.135 90.7);
Tailwind
colors: {
  custom: {
    50: '#f0d285',
    500: '#e4bf4f',
    950: '#000000',
  },
}
SCSS
$custom: #e4bf4f;
$custom-light: #f0d285;
$custom-dark: #000000;
JSON
{
  "hex": "#e4bf4f",
  "rgb": {
    "r": 228,
    "g": 191,
    "b": 79
  },
  "hsl": {
    "h": 45.101,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81642,
    "c": 0.13522,
    "h": 90.7
  },
  "luminance": 0.5432
}

Semantic roles & 50–950 ramp

primary
#E4BF4F
secondary
#3450A3
accent
#41D610
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E4BF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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