#B4B319#B4B319

#B4B319 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.4% C 0.156 H 109.3°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#B4B319
RGBrgb(180, 179, 25)
HSLhsl(60, 76%, 40%)
HSVhsv(60, 86%, 71%)
CMYKcmyk(0%, 0.6%, 86.1%, 29.4%)
CIE-LABlab(70.88, -15.70, 69.00)
CIE-LCHlch(70.88, 70.76, 102.82°)
OKLaboklab(74.36% -0.0515 0.1475)
OKLCHoklch(74.36% 0.156 109.3)
XYZxyz(35.1194, 42.0148, 7.1792)
Luminance0.4201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B319 #191AB4
analogous
#B46619 #B4B319 #67B419
triadic
#B4B319 #19B4B3 #B319B4
tetradic
#B4B319 #19B466 #191AB4 #B41967
square
#B4B319 #19B466 #191AB4 #B41967
split-complementary
#B4B319 #1967B4 #6619B4
monochromatic
#49480A #7E7E12 #B4B319 #E1E029 #E9E85F

Accessibility & contrast

On white

2.23
#B4B319 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#B4B319 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B319
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B319#FFFFFF#000000##000000
##B4B3191.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#C4B02A
Tritanopia (blue-blind)
#C2A799
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b4b319;
/* rgb */ color: rgb(180, 179, 25);
/* oklch */ color: oklch(74.4% 0.156 109.3);
Tailwind
colors: {
  custom: {
    50: '#cfc969',
    500: '#b4b319',
    950: '#000000',
  },
}
SCSS
$custom: #b4b319;
$custom-light: #cfc969;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b319",
  "rgb": {
    "r": 180,
    "g": 179,
    "b": 25
  },
  "hsl": {
    "h": 59.613,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.74361,
    "c": 0.15629,
    "h": 109.3
  },
  "luminance": 0.42014
}

Semantic roles & 50–950 ramp

primary
#B4B319
secondary
#5C5DCD
accent
#37F236
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B4B319

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

Preview Lab → · Contrast checker → · Palette generator →

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