#B3B151#B3B151

#B3B151 is a light, moderate yellow. Relative luminance 0.416; OKLCH L 74.2% C 0.119 H 107.9°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#B3B151
RGBrgb(179, 177, 81)
HSLhsl(59, 39%, 51%)
HSVhsv(59, 55%, 70%)
CMYKcmyk(0%, 1.1%, 54.7%, 29.8%)
CIE-LABlab(70.61, -12.23, 48.55)
CIE-LCHlch(70.61, 50.07, 104.14°)
OKLaboklab(74.24% -0.0365 0.1132)
OKLCHoklch(74.24% 0.119 107.9)
XYZxyz(35.7987, 41.6230, 13.9313)
Luminance0.4162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B151 #5153B3
analogous
#B38051 #B3B151 #84B351
triadic
#B3B151 #51B3B1 #B151B3
tetradic
#B3B151 #51B380 #5153B3 #B35184
square
#B3B151 #51B380 #5153B3 #B35184
split-complementary
#B3B151 #5184B3 #8051B3
monochromatic
#605F2A #8A893C #B3B151 #C6C47C #D8D7A6

Accessibility & contrast

On white

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

On black

9.32
#B3B151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B151
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B151#FFFFFF#000000##000000
##B3B1511.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB47
Deuteranopia (green-blind)
#C0AE56
Tritanopia (blue-blind)
#BEA79C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b3b151;
/* rgb */ color: rgb(179, 177, 81);
/* oklch */ color: oklch(74.2% 0.119 107.9);
Tailwind
colors: {
  custom: {
    50: '#ccc885',
    500: '#b3b151',
    950: '#000000',
  },
}
SCSS
$custom: #b3b151;
$custom-light: #ccc885;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b151",
  "rgb": {
    "r": 179,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 58.776,
    "s": 39.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.7424,
    "c": 0.11889,
    "h": 107.9
  },
  "luminance": 0.41622
}

Semantic roles & 50–950 ramp

primary
#B3B151
secondary
#9A9BC6
accent
#5BCF59
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B3B151

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

Preview Lab → · Contrast checker → · Palette generator →

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