#B4A019#B4A019

#B4A019 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.2% C 0.140 H 99.9°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#B4A019
RGBrgb(180, 160, 25)
HSLhsl(52, 76%, 40%)
HSVhsv(52, 86%, 71%)
CMYKcmyk(0%, 11.1%, 86.1%, 29.4%)
CIE-LABlab(65.68, -5.81, 64.74)
CIE-LCHlch(65.68, 65.00, 95.13°)
OKLaboklab(70.22% -0.024 0.1382)
OKLCHoklch(70.22% 0.14 99.9)
XYZxyz(31.5703, 34.9167, 5.9962)
Luminance0.3492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A019 #192DB4
analogous
#B45219 #B4A019 #7AB419
triadic
#B4A019 #19B4A0 #A019B4
tetradic
#B4A019 #19B452 #192DB4 #B4197A
square
#B4A019 #19B452 #192DB4 #B4197A
split-complementary
#B4A019 #197AB4 #5219B4
monochromatic
#49400A #7E7012 #B4A019 #E1C929 #E9D75F

Accessibility & contrast

On white

2.63
#B4A019 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#B4A019 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A019
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A019#FFFFFF#000000##000000
##B4A0191.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19B00
Deuteranopia (green-blind)
#B6A326
Tritanopia (blue-blind)
#C39388
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b4a019;
/* rgb */ color: rgb(180, 160, 25);
/* oklch */ color: oklch(70.2% 0.140 99.9);
Tailwind
colors: {
  custom: {
    50: '#cfbb66',
    500: '#b4a019',
    950: '#000000',
  },
}
SCSS
$custom: #b4a019;
$custom-light: #cfbb66;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a019",
  "rgb": {
    "r": 180,
    "g": 160,
    "b": 25
  },
  "hsl": {
    "h": 52.258,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.70222,
    "c": 0.14024,
    "h": 99.9
  },
  "luminance": 0.34915
}

Semantic roles & 50–950 ramp

primary
#B4A019
secondary
#5C6BCD
accent
#4EF236
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#151107
muted
#83807A

Preview Lab

Preview with #B4A019

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

Preview Lab → · Contrast checker → · Palette generator →

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