#B4A836#B4A836

#B4A836 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.1% C 0.132 H 103.2°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#B4A836
RGBrgb(180, 168, 54)
HSLhsl(54, 54%, 46%)
HSVhsv(54, 70%, 71%)
CMYKcmyk(0%, 6.7%, 70%, 29.4%)
CIE-LABlab(68.00, -8.92, 57.53)
CIE-LCHlch(68.00, 58.22, 98.81°)
OKLaboklab(72.11% -0.0302 0.1283)
OKLCHoklch(72.11% 0.132 103.2)
XYZxyz(33.4923, 37.9763, 9.0553)
Luminance0.3797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A836 #3642B4
analogous
#B46936 #B4A836 #81B436
triadic
#B4A836 #36B4A8 #A836B4
tetradic
#B4A836 #36B469 #3642B4 #B43681
square
#B4A836 #36B469 #3642B4 #B43681
split-complementary
#B4A836 #3681B4 #6936B4
monochromatic
#56501A #857C28 #B4A836 #CDC25A #DCD489

Accessibility & contrast

On white

2.44
#B4A836 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#B4A836 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A836
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A836#FFFFFF#000000##000000
##B4A8361.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A325
Deuteranopia (green-blind)
#BBA83D
Tritanopia (blue-blind)
#C29C91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b4a836;
/* rgb */ color: rgb(180, 168, 54);
/* oklch */ color: oklch(72.1% 0.132 103.2);
Tailwind
colors: {
  custom: {
    50: '#cec174',
    500: '#b4a836',
    950: '#000000',
  },
}
SCSS
$custom: #b4a836;
$custom-light: #cec174;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a836",
  "rgb": {
    "r": 180,
    "g": 168,
    "b": 54
  },
  "hsl": {
    "h": 54.286,
    "s": 53.846,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72111,
    "c": 0.13179,
    "h": 103.2
  },
  "luminance": 0.37975
}

Semantic roles & 50–950 ramp

primary
#B4A836
secondary
#8087C6
accent
#59DD4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4A836

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

Preview Lab → · Contrast checker → · Palette generator →

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