#B4A939#B4A939

#B4A939 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.4% C 0.131 H 103.7°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#B4A939
RGBrgb(180, 169, 57)
HSLhsl(55, 52%, 46%)
HSVhsv(55, 68%, 71%)
CMYKcmyk(0%, 6.1%, 68.3%, 29.4%)
CIE-LABlab(68.30, -9.28, 56.63)
CIE-LCHlch(68.30, 57.39, 99.31°)
OKLaboklab(72.35% -0.0309 0.1269)
OKLCHoklch(72.35% 0.131 103.7)
XYZxyz(33.7502, 38.3760, 9.4996)
Luminance0.3837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A939 #3944B4
analogous
#B46C39 #B4A939 #82B439
triadic
#B4A939 #39B4A9 #A939B4
tetradic
#B4A939 #39B46C #3944B4 #B43982
square
#B4A939 #39B46C #3944B4 #B43982
split-complementary
#B4A939 #3982B4 #6C39B4
monochromatic
#57521C #867D2A #B4A939 #CCC25E #DBD48D

Accessibility & contrast

On white

2.42
#B4A939 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#B4A939 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A939
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A939#FFFFFF#000000##000000
##B4A9391.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A329
Deuteranopia (green-blind)
#BBA940
Tritanopia (blue-blind)
#C19E92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b4a939;
/* rgb */ color: rgb(180, 169, 57);
/* oklch */ color: oklch(72.4% 0.131 103.7);
Tailwind
colors: {
  custom: {
    50: '#cec276',
    500: '#b4a939',
    950: '#000000',
  },
}
SCSS
$custom: #b4a939;
$custom-light: #cec276;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a939",
  "rgb": {
    "r": 180,
    "g": 169,
    "b": 57
  },
  "hsl": {
    "h": 54.634,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72351,
    "c": 0.13062,
    "h": 103.7
  },
  "luminance": 0.38375
}

Semantic roles & 50–950 ramp

primary
#B4A939
secondary
#8389C5
accent
#59DB4C
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4A939

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

Preview Lab → · Contrast checker → · Palette generator →

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