#B4B534#B4B534

#B4B534 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 74.9% C 0.146 H 109.9°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#B4B534
RGBrgb(180, 181, 52)
HSLhsl(60, 55%, 46%)
HSVhsv(60, 71%, 71%)
CMYKcmyk(0.6%, 0%, 71.3%, 29%)
CIE-LABlab(71.56, -15.74, 61.78)
CIE-LCHlch(71.56, 63.75, 104.29°)
OKLaboklab(74.94% -0.0495 0.1369)
OKLCHoklch(74.94% 0.146 109.9)
XYZxyz(35.9674, 43.0000, 9.6533)
Luminance0.4300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B534 #3534B5
analogous
#B57534 #B4B534 #73B534
triadic
#B4B534 #34B4B5 #B534B4
tetradic
#B4B534 #34B575 #3534B5 #B53473
square
#B4B534 #34B575 #3534B5 #B53473
split-complementary
#B4B534 #3473B5 #7534B5
monochromatic
#555619 #858526 #B4B534 #CECF57 #DCDC87

Accessibility & contrast

On white

2.19
#B4B534 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#B4B534 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B534
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B534#FFFFFF#000000##000000
##B4B5341.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD1D
Deuteranopia (green-blind)
#C5B13E
Tritanopia (blue-blind)
#C1AA9C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b4b534;
/* rgb */ color: rgb(180, 181, 52);
/* oklch */ color: oklch(74.9% 0.146 109.9);
Tailwind
colors: {
  custom: {
    50: '#ceca74',
    500: '#b4b534',
    950: '#000000',
  },
}
SCSS
$custom: #b4b534;
$custom-light: #ceca74;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b534",
  "rgb": {
    "r": 180,
    "g": 181,
    "b": 52
  },
  "hsl": {
    "h": 60.465,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74938,
    "c": 0.14559,
    "h": 109.9
  },
  "luminance": 0.42999
}

Semantic roles & 50–950 ramp

primary
#B4B534
secondary
#7F7FC6
accent
#49DF4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B534

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

Preview Lab → · Contrast checker → · Palette generator →

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