#B5B336#B5B336

#B5B336 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.6% C 0.142 H 108.5°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#B5B336
RGBrgb(181, 179, 54)
HSLhsl(59, 54%, 46%)
HSVhsv(59, 70%, 71%)
CMYKcmyk(0%, 1.1%, 70.2%, 29%)
CIE-LABlab(71.10, -14.19, 60.63)
CIE-LCHlch(71.10, 62.26, 103.17°)
OKLaboklab(74.6% -0.0451 0.1348)
OKLCHoklch(74.6% 0.142 108.5)
XYZxyz(35.8433, 42.3314, 9.7720)
Luminance0.4233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B336 #3638B5
analogous
#B57336 #B5B336 #77B536
triadic
#B5B336 #36B5B3 #B336B5
tetradic
#B5B336 #36B573 #3638B5 #B53677
square
#B5B336 #36B573 #3638B5 #B53677
split-complementary
#B5B336 #3677B5 #7336B5
monochromatic
#57561A #868428 #B5B336 #CECC5A #DCDB89

Accessibility & contrast

On white

2.22
#B5B336 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#B5B336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B336
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B336#FFFFFF#000000##000000
##B5B3361.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC21
Deuteranopia (green-blind)
#C4B03F
Tritanopia (blue-blind)
#C2A79A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b5b336;
/* rgb */ color: rgb(181, 179, 54);
/* oklch */ color: oklch(74.6% 0.142 108.5);
Tailwind
colors: {
  custom: {
    50: '#cfc975',
    500: '#b5b336',
    950: '#000000',
  },
}
SCSS
$custom: #b5b336;
$custom-light: #cfc975;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b336",
  "rgb": {
    "r": 181,
    "g": 179,
    "b": 54
  },
  "hsl": {
    "h": 59.055,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74598,
    "c": 0.14212,
    "h": 108.5
  },
  "luminance": 0.4233
}

Semantic roles & 50–950 ramp

primary
#B5B336
secondary
#8182C6
accent
#4DDD4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B336

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

Preview Lab → · Contrast checker → · Palette generator →

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