#B5B62B#B5B62B

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

Color values

HEX#B5B62B
RGBrgb(181, 182, 43)
HSLhsl(60, 62%, 44%)
HSVhsv(60, 76%, 71%)
CMYKcmyk(0.5%, 0%, 76.4%, 28.6%)
CIE-LABlab(71.86, -16.22, 65.13)
CIE-LCHlch(71.86, 67.12, 103.98°)
OKLaboklab(75.19% -0.0517 0.1424)
OKLCHoklch(75.19% 0.151 110)
XYZxyz(36.2214, 43.4551, 8.7647)
Luminance0.4345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B62B #2C2BB6
analogous
#B6722B #B5B62B #70B62B
triadic
#B5B62B #2BB5B6 #B62BB5
tetradic
#B5B62B #2BB672 #2C2BB6 #B62B70
square
#B5B62B #2BB672 #2C2BB6 #B62B70
split-complementary
#B5B62B #2B70B6 #722BB6
monochromatic
#535314 #84841F #B5B62B #D3D44A #DFE07B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5B62B#FFFFFF#000000##000000
##B5B62B1.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)
#C5AE04
Deuteranopia (green-blind)
#C6B237
Tritanopia (blue-blind)
#C2AA9C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b5b62b;
/* rgb */ color: rgb(181, 182, 43);
/* oklch */ color: oklch(75.2% 0.151 110.0);
Tailwind
colors: {
  custom: {
    50: '#cfcb70',
    500: '#b5b62b',
    950: '#000000',
  },
}
SCSS
$custom: #b5b62b;
$custom-light: #cfcb70;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b62b",
  "rgb": {
    "r": 181,
    "g": 182,
    "b": 43
  },
  "hsl": {
    "h": 60.432,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.75188,
    "c": 0.15146,
    "h": 110
  },
  "luminance": 0.43454
}

Semantic roles & 50–950 ramp

primary
#B5B62B
secondary
#7575C8
accent
#43E544
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5B62B

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

Preview Lab → · Contrast checker → · Palette generator →

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