#B4A535#B4A535

#B4A535 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.5% C 0.130 H 101.5°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#B4A535
RGBrgb(180, 165, 53)
HSLhsl(53, 55%, 46%)
HSVhsv(53, 71%, 71%)
CMYKcmyk(0%, 8.3%, 70.6%, 29.4%)
CIE-LABlab(67.18, -7.40, 57.11)
CIE-LCHlch(67.18, 57.58, 97.38°)
OKLaboklab(71.46% -0.0259 0.1272)
OKLCHoklch(71.46% 0.13 101.5)
XYZxyz(32.9216, 36.8720, 8.7504)
Luminance0.3687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A535 #3544B4
analogous
#B46535 #B4A535 #83B435
triadic
#B4A535 #35B4A5 #A535B4
tetradic
#B4A535 #35B465 #3544B4 #B43583
square
#B4A535 #35B465 #3544B4 #B43583
split-complementary
#B4A535 #3583B4 #6535B4
monochromatic
#554E19 #857A27 #B4A535 #CEC058 #DCD288

Accessibility & contrast

On white

2.51
#B4A535 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#B4A535 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A535
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A535#FFFFFF#000000##000000
##B4A5351.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A024
Deuteranopia (green-blind)
#B9A63C
Tritanopia (blue-blind)
#C2998F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b4a535;
/* rgb */ color: rgb(180, 165, 53);
/* oklch */ color: oklch(71.5% 0.130 101.5);
Tailwind
colors: {
  custom: {
    50: '#cebf73',
    500: '#b4a535',
    950: '#000000',
  },
}
SCSS
$custom: #b4a535;
$custom-light: #cebf73;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a535",
  "rgb": {
    "r": 180,
    "g": 165,
    "b": 53
  },
  "hsl": {
    "h": 52.913,
    "s": 54.506,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71456,
    "c": 0.12983,
    "h": 101.5
  },
  "luminance": 0.36871
}

Semantic roles & 50–950 ramp

primary
#B4A535
secondary
#7F87C6
accent
#5BDE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A535

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

Preview Lab → · Contrast checker → · Palette generator →

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