#B5B734#B5B734

#B5B734 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.5% C 0.147 H 110.3°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#B5B734
RGBrgb(181, 183, 52)
HSLhsl(61, 56%, 46%)
HSVhsv(61, 72%, 72%)
CMYKcmyk(1.1%, 0%, 71.6%, 28.2%)
CIE-LABlab(72.19, -16.32, 62.42)
CIE-LCHlch(72.19, 64.52, 104.66°)
OKLaboklab(75.46% -0.0512 0.1382)
OKLCHoklch(75.46% 0.147 110.3)
XYZxyz(36.6106, 43.9397, 9.8008)
Luminance0.4394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B734 #3634B7
analogous
#B77734 #B5B734 #73B734
triadic
#B5B734 #34B5B7 #B734B5
tetradic
#B5B734 #34B777 #3634B7 #B73473
square
#B5B734 #34B777 #3634B7 #B73473
split-complementary
#B5B734 #3473B7 #7734B7
monochromatic
#575819 #868726 #B5B734 #CED059 #DCDD88

Accessibility & contrast

On white

2.15
#B5B734 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#B5B734 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B734
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B734#FFFFFF#000000##000000
##B5B7341.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF1C
Deuteranopia (green-blind)
#C7B33E
Tritanopia (blue-blind)
#C2AB9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b5b734;
/* rgb */ color: rgb(181, 183, 52);
/* oklch */ color: oklch(75.5% 0.147 110.3);
Tailwind
colors: {
  custom: {
    50: '#cfcc75',
    500: '#b5b734',
    950: '#000000',
  },
}
SCSS
$custom: #b5b734;
$custom-light: #cfcc75;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b734",
  "rgb": {
    "r": 181,
    "g": 183,
    "b": 52
  },
  "hsl": {
    "h": 60.916,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75464,
    "c": 0.1474,
    "h": 110.3
  },
  "luminance": 0.43939
}

Semantic roles & 50–950 ramp

primary
#B5B734
secondary
#8180C7
accent
#49DF4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B734

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

Preview Lab → · Contrast checker → · Palette generator →

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