#B8B131#B8B131

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

Color values

HEX#B8B131
RGBrgb(184, 177, 49)
HSLhsl(57, 58%, 46%)
HSVhsv(57, 73%, 72%)
CMYKcmyk(0%, 3.8%, 73.4%, 27.8%)
CIE-LABlab(70.77, -12.11, 62.21)
CIE-LCHlch(70.77, 63.38, 101.01°)
OKLaboklab(74.39% -0.0399 0.1371)
OKLCHoklch(74.39% 0.143 106.2)
XYZxyz(36.0451, 41.8577, 9.0858)
Luminance0.4186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B131 #3138B8
analogous
#B86D31 #B8B131 #7BB831
triadic
#B8B131 #31B8B1 #B131B8
tetradic
#B8B131 #31B86D #3138B8 #B8317B
square
#B8B131 #31B86D #3138B8 #B8317B
split-complementary
#B8B131 #317BB8 #6D31B8
monochromatic
#575417 #888324 #B8B131 #D2CB55 #DEDA85

Accessibility & contrast

On white

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

On black

9.37
#B8B131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B131
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B131#FFFFFF#000000##000000
##B8B1311.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA18
Deuteranopia (green-blind)
#C3AF3A
Tritanopia (blue-blind)
#C6A598
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b8b131;
/* rgb */ color: rgb(184, 177, 49);
/* oklch */ color: oklch(74.4% 0.143 106.2);
Tailwind
colors: {
  custom: {
    50: '#d1c872',
    500: '#b8b131',
    950: '#000000',
  },
}
SCSS
$custom: #b8b131;
$custom-light: #d1c872;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b131",
  "rgb": {
    "r": 184,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 56.889,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74389,
    "c": 0.14281,
    "h": 106.2
  },
  "luminance": 0.41856
}

Semantic roles & 50–950 ramp

primary
#B8B131
secondary
#7D81C8
accent
#4FE147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B8B131

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

Preview Lab → · Contrast checker → · Palette generator →

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