#B4A936#B4A936

#B4A936 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.3% C 0.133 H 103.8°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#B4A936
RGBrgb(180, 169, 54)
HSLhsl(55, 54%, 46%)
HSVhsv(55, 70%, 71%)
CMYKcmyk(0%, 6.1%, 70%, 29.4%)
CIE-LABlab(68.28, -9.45, 57.81)
CIE-LCHlch(68.28, 58.57, 99.28°)
OKLaboklab(72.33% -0.0316 0.1289)
OKLCHoklch(72.33% 0.133 103.8)
XYZxyz(33.6776, 38.3469, 9.1170)
Luminance0.3835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A936 #3641B4
analogous
#B46A36 #B4A936 #80B436
triadic
#B4A936 #36B4A9 #A936B4
tetradic
#B4A936 #36B46A #3641B4 #B43680
square
#B4A936 #36B46A #3641B4 #B43680
split-complementary
#B4A936 #3680B4 #6A36B4
monochromatic
#56511A #857D28 #B4A936 #CDC35A #DCD489

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4A936#FFFFFF#000000##000000
##B4A9361.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)
#B8A324
Deuteranopia (green-blind)
#BCA93D
Tritanopia (blue-blind)
#C19D92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b4a936;
/* rgb */ color: rgb(180, 169, 54);
/* oklch */ color: oklch(72.3% 0.133 103.8);
Tailwind
colors: {
  custom: {
    50: '#cec274',
    500: '#b4a936',
    950: '#000000',
  },
}
SCSS
$custom: #b4a936;
$custom-light: #cec274;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a936",
  "rgb": {
    "r": 180,
    "g": 169,
    "b": 54
  },
  "hsl": {
    "h": 54.762,
    "s": 53.846,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72328,
    "c": 0.1327,
    "h": 103.8
  },
  "luminance": 0.38346
}

Semantic roles & 50–950 ramp

primary
#B4A936
secondary
#8086C6
accent
#57DD4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4A936

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

Preview Lab → · Contrast checker → · Palette generator →

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