#B4A336#B4A336

#B4A336 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 71.0% C 0.127 H 100.3°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#B4A336
RGBrgb(180, 163, 54)
HSLhsl(52, 54%, 46%)
HSVhsv(52, 70%, 71%)
CMYKcmyk(0%, 9.4%, 70%, 29.4%)
CIE-LABlab(66.65, -6.28, 56.17)
CIE-LCHlch(66.65, 56.53, 96.38°)
OKLaboklab(71.03% -0.0227 0.1254)
OKLCHoklch(71.03% 0.127 100.3)
XYZxyz(32.5869, 36.1655, 8.7535)
Luminance0.3616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A336 #3647B4
analogous
#B46436 #B4A336 #86B436
triadic
#B4A336 #36B4A3 #A336B4
tetradic
#B4A336 #36B464 #3647B4 #B43686
square
#B4A336 #36B464 #3647B4 #B43686
split-complementary
#B4A336 #3686B4 #6436B4
monochromatic
#564E1A #857828 #B4A336 #CDBE5A #DCD089

Accessibility & contrast

On white

2.55
#B4A336 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#B4A336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A336
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A336#FFFFFF#000000##000000
##B4A3361.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E26
Deuteranopia (green-blind)
#B7A53D
Tritanopia (blue-blind)
#C2978D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b4a336;
/* rgb */ color: rgb(180, 163, 54);
/* oklch */ color: oklch(71.0% 0.127 100.3);
Tailwind
colors: {
  custom: {
    50: '#cebd74',
    500: '#b4a336',
    950: '#000000',
  },
}
SCSS
$custom: #b4a336;
$custom-light: #cebd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a336",
  "rgb": {
    "r": 180,
    "g": 163,
    "b": 54
  },
  "hsl": {
    "h": 51.905,
    "s": 53.846,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71033,
    "c": 0.12746,
    "h": 100.3
  },
  "luminance": 0.36164
}

Semantic roles & 50–950 ramp

primary
#B4A336
secondary
#808AC6
accent
#5EDD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A336

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

Preview Lab → · Contrast checker → · Palette generator →

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