#B4B538#B4B538

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

Color values

HEX#B4B538
RGBrgb(180, 181, 56)
HSLhsl(60, 53%, 46%)
HSVhsv(60, 69%, 71%)
CMYKcmyk(0.6%, 0%, 69.1%, 29%)
CIE-LABlab(71.58, -15.53, 60.32)
CIE-LCHlch(71.58, 62.29, 104.44°)
OKLaboklab(74.97% -0.0486 0.1345)
OKLCHoklch(74.97% 0.143 109.9)
XYZxyz(36.0613, 43.0376, 10.1481)
Luminance0.4304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B538 #3938B5
analogous
#B57838 #B4B538 #76B538
triadic
#B4B538 #38B4B5 #B538B4
tetradic
#B4B538 #38B578 #3938B5 #B53876
square
#B4B538 #38B578 #3938B5 #B53876
split-complementary
#B4B538 #3876B5 #7838B5
monochromatic
#57581B #86862A #B4B538 #CCCD5D #DBDB8C

Accessibility & contrast

On white

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

On black

9.61
#B4B538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B538
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B538#FFFFFF#000000##000000
##B4B5381.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4b538;
/* rgb */ color: rgb(180, 181, 56);
/* oklch */ color: oklch(75.0% 0.143 109.9);
Tailwind
colors: {
  custom: {
    50: '#ceca76',
    500: '#b4b538',
    950: '#000000',
  },
}
SCSS
$custom: #b4b538;
$custom-light: #ceca76;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b538",
  "rgb": {
    "r": 180,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 60.48,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.74966,
    "c": 0.14302,
    "h": 109.9
  },
  "luminance": 0.43037
}

Semantic roles & 50–950 ramp

primary
#B4B538
secondary
#8383C6
accent
#4CDC4D
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B538

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

Preview Lab → · Contrast checker → · Palette generator →

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