#B5B145#B5B145

#B5B145 is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.3% C 0.129 H 107.1°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#B5B145
RGBrgb(181, 177, 69)
HSLhsl(58, 45%, 49%)
HSVhsv(58, 62%, 71%)
CMYKcmyk(0%, 2.2%, 61.9%, 29%)
CIE-LABlab(70.66, -12.27, 54.09)
CIE-LCHlch(70.66, 55.47, 102.78°)
OKLaboklab(74.29% -0.0381 0.1234)
OKLCHoklch(74.29% 0.129 107.1)
XYZxyz(35.8536, 41.6988, 11.7891)
Luminance0.4170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B145 #4549B5
analogous
#B57945 #B5B145 #81B545
triadic
#B5B145 #45B5B1 #B145B5
tetradic
#B5B145 #45B579 #4549B5 #B54581
square
#B5B145 #45B579 #4549B5 #B54581
split-complementary
#B5B145 #4581B5 #7945B5
monochromatic
#5C5A23 #898634 #B5B145 #C8C56F #D9D79B

Accessibility & contrast

On white

2.25
#B5B145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#B5B145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B145
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B145#FFFFFF#000000##000000
##B5B1451.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA38
Deuteranopia (green-blind)
#C1AF4B
Tritanopia (blue-blind)
#C1A69A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b5b145;
/* rgb */ color: rgb(181, 177, 69);
/* oklch */ color: oklch(74.3% 0.129 107.1);
Tailwind
colors: {
  custom: {
    50: '#cec87d',
    500: '#b5b145',
    950: '#000000',
  },
}
SCSS
$custom: #b5b145;
$custom-light: #cec87d;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b145",
  "rgb": {
    "r": 181,
    "g": 177,
    "b": 69
  },
  "hsl": {
    "h": 57.857,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74286,
    "c": 0.12914,
    "h": 107.1
  },
  "luminance": 0.41698
}

Semantic roles & 50–950 ramp

primary
#B5B145
secondary
#9192C5
accent
#58D553
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B5B145

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

Preview Lab → · Contrast checker → · Palette generator →

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