#B4A439#B4A439

#B4A439 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.3% C 0.126 H 100.7°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#B4A439
RGBrgb(180, 164, 57)
HSLhsl(52, 52%, 46%)
HSVhsv(52, 68%, 71%)
CMYKcmyk(0%, 8.9%, 68.3%, 29.4%)
CIE-LABlab(66.94, -6.65, 55.25)
CIE-LCHlch(66.94, 55.65, 96.86°)
OKLaboklab(71.27% -0.0234 0.124)
OKLCHoklch(71.27% 0.126 100.7)
XYZxyz(32.8378, 36.5511, 9.1955)
Luminance0.3655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A439 #3949B4
analogous
#B46739 #B4A439 #87B439
triadic
#B4A439 #39B4A4 #A439B4
tetradic
#B4A439 #39B467 #3949B4 #B43987
square
#B4A439 #39B467 #3949B4 #B43987
split-complementary
#B4A439 #3987B4 #6739B4
monochromatic
#574F1C #867A2A #B4A439 #CCBE5E #DBD18D

Accessibility & contrast

On white

2.53
#B4A439 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#B4A439 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A439
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A439#FFFFFF#000000##000000
##B4A4391.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F2A
Deuteranopia (green-blind)
#B8A63F
Tritanopia (blue-blind)
#C2988E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b4a439;
/* rgb */ color: rgb(180, 164, 57);
/* oklch */ color: oklch(71.3% 0.126 100.7);
Tailwind
colors: {
  custom: {
    50: '#cebe75',
    500: '#b4a439',
    950: '#000000',
  },
}
SCSS
$custom: #b4a439;
$custom-light: #cebe75;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a439",
  "rgb": {
    "r": 180,
    "g": 164,
    "b": 57
  },
  "hsl": {
    "h": 52.195,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71273,
    "c": 0.12618,
    "h": 100.7
  },
  "luminance": 0.3655
}

Semantic roles & 50–950 ramp

primary
#B4A439
secondary
#838CC5
accent
#5FDB4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4A439

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

Preview Lab → · Contrast checker → · Palette generator →

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