#B4B53A#B4B53A

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

Color values

HEX#B4B53A
RGBrgb(180, 181, 58)
HSLhsl(60, 51%, 47%)
HSVhsv(60, 68%, 71%)
CMYKcmyk(0.6%, 0%, 68%, 29%)
CIE-LABlab(71.59, -15.42, 59.57)
CIE-LCHlch(71.59, 61.53, 104.52°)
OKLaboklab(74.98% -0.0481 0.1333)
OKLCHoklch(74.98% 0.142 109.8)
XYZxyz(36.1112, 43.0575, 10.4109)
Luminance0.4306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B53A #3B3AB5
analogous
#B5793A #B4B53A #77B53A
triadic
#B4B53A #3AB4B5 #B53AB4
tetradic
#B4B53A #3AB579 #3B3AB5 #B53A77
square
#B4B53A #3AB579 #3B3AB5 #B53A77
split-complementary
#B4B53A #3A77B5 #793AB5
monochromatic
#58581C #86872B #B4B53A #CBCC60 #DADB8E

Accessibility & contrast

On white

2.18
#B4B53A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4B53A#FFFFFF#000000##000000
##B4B53A1.002.189.619.61
#FFFFFF2.181.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD27
Deuteranopia (green-blind)
#C5B143
Tritanopia (blue-blind)
#C0AA9C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b4b53a;
/* rgb */ color: rgb(180, 181, 58);
/* oklch */ color: oklch(75.0% 0.142 109.8);
Tailwind
colors: {
  custom: {
    50: '#ceca78',
    500: '#b4b53a',
    950: '#000000',
  },
}
SCSS
$custom: #b4b53a;
$custom-light: #ceca78;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b53a",
  "rgb": {
    "r": 180,
    "g": 181,
    "b": 58
  },
  "hsl": {
    "h": 60.488,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.74981,
    "c": 0.14168,
    "h": 109.8
  },
  "luminance": 0.43057
}

Semantic roles & 50–950 ramp

primary
#B4B53A
secondary
#8685C6
accent
#4DDB4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B53A

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

Preview Lab → · Contrast checker → · Palette generator →

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