#B8B137#B8B137

#B8B137 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.4% C 0.139 H 106.1°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#B8B137
RGBrgb(184, 177, 55)
HSLhsl(57, 54%, 47%)
HSVhsv(57, 70%, 72%)
CMYKcmyk(0%, 3.8%, 70.1%, 27.8%)
CIE-LABlab(70.81, -11.81, 60.05)
CIE-LCHlch(70.81, 61.20, 101.13°)
OKLaboklab(74.43% -0.0385 0.1337)
OKLCHoklch(74.43% 0.139 106.1)
XYZxyz(36.1803, 41.9118, 9.7977)
Luminance0.4191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B137 #373EB8
analogous
#B87137 #B8B137 #7FB837
triadic
#B8B137 #37B8B1 #B137B8
tetradic
#B8B137 #37B871 #373EB8 #B8377F
square
#B8B137 #37B871 #373EB8 #B8377F
split-complementary
#B8B137 #377FB8 #7137B8
monochromatic
#5A561B #898429 #B8B137 #CFC95D #DDD88D

Accessibility & contrast

On white

2.24
#B8B137 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#B8B137 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B137
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B137#FFFFFF#000000##000000
##B8B1371.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA23
Deuteranopia (green-blind)
#C3B03F
Tritanopia (blue-blind)
#C5A599
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b8b137;
/* rgb */ color: rgb(184, 177, 55);
/* oklch */ color: oklch(74.4% 0.139 106.1);
Tailwind
colors: {
  custom: {
    50: '#d1c876',
    500: '#b8b137',
    950: '#000000',
  },
}
SCSS
$custom: #b8b137;
$custom-light: #d1c876;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b137",
  "rgb": {
    "r": 184,
    "g": 177,
    "b": 55
  },
  "hsl": {
    "h": 56.744,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.74431,
    "c": 0.13907,
    "h": 106.1
  },
  "luminance": 0.4191
}

Semantic roles & 50–950 ramp

primary
#B8B137
secondary
#8487C7
accent
#52DD4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B137

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

Preview Lab → · Contrast checker → · Palette generator →

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