#B5B134#B5B134

#B5B134 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.1% C 0.141 H 107.6°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#B5B134
RGBrgb(181, 177, 52)
HSLhsl(58, 55%, 46%)
HSVhsv(58, 71%, 71%)
CMYKcmyk(0%, 2.2%, 71.3%, 29%)
CIE-LABlab(70.54, -13.26, 60.82)
CIE-LCHlch(70.54, 62.25, 102.30°)
OKLaboklab(74.15% -0.0427 0.1348)
OKLCHoklch(74.15% 0.141 107.6)
XYZxyz(35.3994, 41.5172, 9.3971)
Luminance0.4152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B134 #3438B5
analogous
#B57134 #B5B134 #78B534
triadic
#B5B134 #34B5B1 #B134B5
tetradic
#B5B134 #34B571 #3438B5 #B53478
square
#B5B134 #34B571 #3438B5 #B53478
split-complementary
#B5B134 #3478B5 #7134B5
monochromatic
#565419 #858326 #B5B134 #CFCB57 #DCDA87

Accessibility & contrast

On white

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

On black

9.30
#B5B134 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B134
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B134#FFFFFF#000000##000000
##B5B1341.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA1E
Deuteranopia (green-blind)
#C2AF3D
Tritanopia (blue-blind)
#C2A599
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b5b134;
/* rgb */ color: rgb(181, 177, 52);
/* oklch */ color: oklch(74.1% 0.141 107.6);
Tailwind
colors: {
  custom: {
    50: '#cfc874',
    500: '#b5b134',
    950: '#000000',
  },
}
SCSS
$custom: #b5b134;
$custom-light: #cfc874;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b134",
  "rgb": {
    "r": 181,
    "g": 177,
    "b": 52
  },
  "hsl": {
    "h": 58.14,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74145,
    "c": 0.14143,
    "h": 107.6
  },
  "luminance": 0.41516
}

Semantic roles & 50–950 ramp

primary
#B5B134
secondary
#7F81C6
accent
#4EDF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B134

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

Preview Lab → · Contrast checker → · Palette generator →

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