#B5B62A#B5B62A

#B5B62A is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.2% C 0.152 H 110.0°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#B5B62A
RGBrgb(181, 182, 42)
HSLhsl(60, 63%, 44%)
HSVhsv(60, 77%, 71%)
CMYKcmyk(0.5%, 0%, 76.9%, 28.6%)
CIE-LABlab(71.86, -16.25, 65.44)
CIE-LCHlch(71.86, 67.43, 103.95°)
OKLaboklab(75.18% -0.0519 0.1428)
OKLCHoklch(75.18% 0.152 110)
XYZxyz(36.2033, 43.4479, 8.6693)
Luminance0.4345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B62A #2B2AB6
analogous
#B6712A #B5B62A #6FB62A
triadic
#B5B62A #2AB5B6 #B62AB5
tetradic
#B5B62A #2AB671 #2B2AB6 #B62A6F
square
#B5B62A #2AB671 #2B2AB6 #B62A6F
split-complementary
#B5B62A #2A6FB6 #712AB6
monochromatic
#525313 #84841F #B5B62A #D4D548 #E0E07A

Accessibility & contrast

On white

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

On black

9.69
#B5B62A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B62A
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B62A#FFFFFF#000000##000000
##B5B62A1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5b62a;
/* rgb */ color: rgb(181, 182, 42);
/* oklch */ color: oklch(75.2% 0.152 110.0);
Tailwind
colors: {
  custom: {
    50: '#cfcb70',
    500: '#b5b62a',
    950: '#000000',
  },
}
SCSS
$custom: #b5b62a;
$custom-light: #cfcb70;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b62a",
  "rgb": {
    "r": 181,
    "g": 182,
    "b": 42
  },
  "hsl": {
    "h": 60.429,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.75182,
    "c": 0.15197,
    "h": 110
  },
  "luminance": 0.43447
}

Semantic roles & 50–950 ramp

primary
#B5B62A
secondary
#7473C8
accent
#42E643
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5B62A

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

Preview Lab → · Contrast checker → · Palette generator →

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