#B5B434#B5B434

#B5B434 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.8% C 0.144 H 109.0°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#B5B434
RGBrgb(181, 180, 52)
HSLhsl(60, 55%, 46%)
HSVhsv(60, 71%, 71%)
CMYKcmyk(0%, 0.6%, 71.3%, 29%)
CIE-LABlab(71.36, -14.80, 61.62)
CIE-LCHlch(71.36, 63.37, 103.51°)
OKLaboklab(74.8% -0.047 0.1365)
OKLCHoklch(74.8% 0.144 109)
XYZxyz(35.9984, 42.7153, 9.5968)
Luminance0.4271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B434 #3435B5
analogous
#B57334 #B5B434 #75B534
triadic
#B5B434 #34B5B4 #B434B5
tetradic
#B5B434 #34B573 #3435B5 #B53475
square
#B5B434 #34B573 #3435B5 #B53475
split-complementary
#B5B434 #3475B5 #7334B5
monochromatic
#565519 #858526 #B5B434 #CFCE57 #DCDC87

Accessibility & contrast

On white

2.20
#B5B434 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#B5B434 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B434
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B434#FFFFFF#000000##000000
##B5B4341.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC1D
Deuteranopia (green-blind)
#C4B13D
Tritanopia (blue-blind)
#C2A89B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b5b434;
/* rgb */ color: rgb(181, 180, 52);
/* oklch */ color: oklch(74.8% 0.144 109.0);
Tailwind
colors: {
  custom: {
    50: '#cfca74',
    500: '#b5b434',
    950: '#000000',
  },
}
SCSS
$custom: #b5b434;
$custom-light: #cfca74;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b434",
  "rgb": {
    "r": 181,
    "g": 180,
    "b": 52
  },
  "hsl": {
    "h": 59.535,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74803,
    "c": 0.14438,
    "h": 109
  },
  "luminance": 0.42714
}

Semantic roles & 50–950 ramp

primary
#B5B434
secondary
#7F7FC6
accent
#4ADF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B434

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

Preview Lab → · Contrast checker → · Palette generator →

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