#B4B62A#B4B62A

#B4B62A is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.1% C 0.152 H 110.4°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#B4B62A
RGBrgb(180, 182, 42)
HSLhsl(61, 63%, 44%)
HSVhsv(61, 77%, 71%)
CMYKcmyk(1.1%, 0%, 76.9%, 28.6%)
CIE-LABlab(71.78, -16.69, 65.33)
CIE-LCHlch(71.78, 67.43, 104.33°)
OKLaboklab(75.1% -0.0531 0.1426)
OKLCHoklch(75.1% 0.152 110.4)
XYZxyz(35.9696, 43.3274, 8.6583)
Luminance0.4333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B62A #2C2AB6
analogous
#B6722A #B4B62A #6EB62A
triadic
#B4B62A #2AB4B6 #B62AB4
tetradic
#B4B62A #2AB672 #2C2AB6 #B62A6E
square
#B4B62A #2AB672 #2C2AB6 #B62A6E
split-complementary
#B4B62A #2A6EB6 #722AB6
monochromatic
#525313 #83841F #B4B62A #D3D548 #DFE07A

Accessibility & contrast

On white

2.17
#B4B62A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#B4B62A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B62A
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B62A#FFFFFF#000000##000000
##B4B62A1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C6B236
Tritanopia (blue-blind)
#C1AA9C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b4b62a;
/* rgb */ color: rgb(180, 182, 42);
/* oklch */ color: oklch(75.1% 0.152 110.4);
Tailwind
colors: {
  custom: {
    50: '#cecb70',
    500: '#b4b62a',
    950: '#000000',
  },
}
SCSS
$custom: #b4b62a;
$custom-light: #cecb70;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b62a",
  "rgb": {
    "r": 180,
    "g": 182,
    "b": 42
  },
  "hsl": {
    "h": 60.857,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.75098,
    "c": 0.1522,
    "h": 110.4
  },
  "luminance": 0.43326
}

Semantic roles & 50–950 ramp

primary
#B4B62A
secondary
#7573C8
accent
#42E645
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B62A

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

Preview Lab → · Contrast checker → · Palette generator →

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