#E4BF4B#E4BF4B

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

Color values

HEX#E4BF4B
RGBrgb(228, 191, 75)
HSLhsl(45, 74%, 59%)
HSVhsv(45, 67%, 89%)
CMYKcmyk(0%, 16.2%, 67.1%, 10.6%)
CIE-LABlab(78.62, 0.84, 61.24)
CIE-LCHlch(78.62, 61.25, 89.21°)
OKLaboklab(81.61% -0.0028 0.1381)
OKLCHoklch(81.61% 0.138 91.1)
XYZxyz(51.8984, 54.2666, 14.3962)
Luminance0.5426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4BF4B #4B70E4
analogous
#E4734B #E4BF4B #BDE44B
triadic
#E4BF4B #4BE4BF #BF4BE4
tetradic
#E4BF4B #4BE473 #4B70E4 #E44BBD
square
#E4BF4B #4BE473 #4B70E4 #E44BBD
split-complementary
#E4BF4B #4BBDE4 #734BE4
monochromatic
#9D7D18 #D2A720 #E4BF4B #ECD280 #F4E5B5

Accessibility & contrast

On white

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

On black

11.85
#E4BF4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4BF4B
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4BF4B#FFFFFF#000000##000000
##E4BF4B1.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4bf4b;
/* rgb */ color: rgb(228, 191, 75);
/* oklch */ color: oklch(81.6% 0.138 91.1);
Tailwind
colors: {
  custom: {
    50: '#f0d283',
    500: '#e4bf4b',
    950: '#000000',
  },
}
SCSS
$custom: #e4bf4b;
$custom-light: #f0d283;
$custom-dark: #000000;
JSON
{
  "hex": "#e4bf4b",
  "rgb": {
    "r": 228,
    "g": 191,
    "b": 75
  },
  "hsl": {
    "h": 45.49,
    "s": 73.913,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81606,
    "c": 0.13815,
    "h": 91.1
  },
  "luminance": 0.54264
}

Semantic roles & 50–950 ramp

primary
#E4BF4B
secondary
#334DA0
accent
#64F137
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E4BF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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