#B5B137#B5B137

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

Color values

HEX#B5B137
RGBrgb(181, 177, 55)
HSLhsl(58, 53%, 46%)
HSVhsv(58, 70%, 71%)
CMYKcmyk(0%, 2.2%, 69.6%, 29%)
CIE-LABlab(70.56, -13.11, 59.71)
CIE-LCHlch(70.56, 61.14, 102.38°)
OKLaboklab(74.17% -0.0419 0.133)
OKLCHoklch(74.17% 0.139 107.5)
XYZxyz(35.4691, 41.5450, 9.7643)
Luminance0.4154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B137 #373BB5
analogous
#B57237 #B5B137 #7AB537
triadic
#B5B137 #37B5B1 #B137B5
tetradic
#B5B137 #37B572 #373BB5 #B5377A
square
#B5B137 #37B572 #373BB5 #B5377A
split-complementary
#B5B137 #377AB5 #7237B5
monochromatic
#57551A #868329 #B5B137 #CDCA5C #DCD98B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5B137#FFFFFF#000000##000000
##B5B1371.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)
#C0AA24
Deuteranopia (green-blind)
#C2AF3F
Tritanopia (blue-blind)
#C2A599
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b5b137;
/* rgb */ color: rgb(181, 177, 55);
/* oklch */ color: oklch(74.2% 0.139 107.5);
Tailwind
colors: {
  custom: {
    50: '#cec876',
    500: '#b5b137',
    950: '#000000',
  },
}
SCSS
$custom: #b5b137;
$custom-light: #cec876;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b137",
  "rgb": {
    "r": 181,
    "g": 177,
    "b": 55
  },
  "hsl": {
    "h": 58.095,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.74167,
    "c": 0.13949,
    "h": 107.5
  },
  "luminance": 0.41544
}

Semantic roles & 50–950 ramp

primary
#B5B137
secondary
#8284C6
accent
#50DD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B137

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

Preview Lab → · Contrast checker → · Palette generator →

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