#B5B136#B5B136

#B5B136 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.2% C 0.140 H 107.5°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#B5B136
RGBrgb(181, 177, 54)
HSLhsl(58, 54%, 46%)
HSVhsv(58, 70%, 71%)
CMYKcmyk(0%, 2.2%, 70.2%, 29%)
CIE-LABlab(70.55, -13.16, 60.09)
CIE-LCHlch(70.55, 61.51, 102.36°)
OKLaboklab(74.16% -0.0422 0.1337)
OKLCHoklch(74.16% 0.14 107.5)
XYZxyz(35.4454, 41.5356, 9.6394)
Luminance0.4153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B136 #363AB5
analogous
#B57136 #B5B136 #79B536
triadic
#B5B136 #36B5B1 #B136B5
tetradic
#B5B136 #36B571 #363AB5 #B53679
square
#B5B136 #36B571 #363AB5 #B53679
split-complementary
#B5B136 #3679B5 #7136B5
monochromatic
#57551A #868328 #B5B136 #CECA5A #DCD989

Accessibility & contrast

On white

2.26
#B5B136 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#B5B136 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B136
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B136#FFFFFF#000000##000000
##B5B1361.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA22
Deuteranopia (green-blind)
#C2AF3F
Tritanopia (blue-blind)
#C2A599
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b5b136;
/* rgb */ color: rgb(181, 177, 54);
/* oklch */ color: oklch(74.2% 0.140 107.5);
Tailwind
colors: {
  custom: {
    50: '#cfc875',
    500: '#b5b136',
    950: '#000000',
  },
}
SCSS
$custom: #b5b136;
$custom-light: #cfc875;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b136",
  "rgb": {
    "r": 181,
    "g": 177,
    "b": 54
  },
  "hsl": {
    "h": 58.11,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74159,
    "c": 0.14015,
    "h": 107.5
  },
  "luminance": 0.41534
}

Semantic roles & 50–950 ramp

primary
#B5B136
secondary
#8183C6
accent
#4FDD4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B136

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

Preview Lab → · Contrast checker → · Palette generator →

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