#B8B134#B8B134

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

Color values

HEX#B8B134
RGBrgb(184, 177, 52)
HSLhsl(57, 56%, 46%)
HSVhsv(57, 72%, 72%)
CMYKcmyk(0%, 3.8%, 71.7%, 27.8%)
CIE-LABlab(70.79, -11.96, 61.15)
CIE-LCHlch(70.79, 62.31, 101.07°)
OKLaboklab(74.41% -0.0392 0.1354)
OKLCHoklch(74.41% 0.141 106.1)
XYZxyz(36.1106, 41.8839, 9.4304)
Luminance0.4188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B134 #343BB8
analogous
#B86F34 #B8B134 #7DB834
triadic
#B8B134 #34B8B1 #B134B8
tetradic
#B8B134 #34B86F #343BB8 #B8347D
square
#B8B134 #34B86F #343BB8 #B8347D
split-complementary
#B8B134 #347DB8 #6F34B8
monochromatic
#595519 #888327 #B8B134 #D0CA59 #DED989

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8B134#FFFFFF#000000##000000
##B8B1341.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)
#C0AA1E
Deuteranopia (green-blind)
#C3B03D
Tritanopia (blue-blind)
#C6A599
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b8b134;
/* rgb */ color: rgb(184, 177, 52);
/* oklch */ color: oklch(74.4% 0.141 106.1);
Tailwind
colors: {
  custom: {
    50: '#d1c874',
    500: '#b8b134',
    950: '#000000',
  },
}
SCSS
$custom: #b8b134;
$custom-light: #d1c874;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b134",
  "rgb": {
    "r": 184,
    "g": 177,
    "b": 52
  },
  "hsl": {
    "h": 56.818,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.74409,
    "c": 0.14099,
    "h": 106.1
  },
  "luminance": 0.41883
}

Semantic roles & 50–950 ramp

primary
#B8B134
secondary
#8084C8
accent
#51DF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B134

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

Preview Lab → · Contrast checker → · Palette generator →

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