#B2B150#B2B150

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

Color values

HEX#B2B150
RGBrgb(178, 177, 80)
HSLhsl(59, 39%, 51%)
HSVhsv(59, 55%, 70%)
CMYKcmyk(0%, 0.6%, 55.1%, 30.2%)
CIE-LABlab(70.52, -12.73, 48.89)
CIE-LCHlch(70.52, 50.52, 104.60°)
OKLaboklab(74.14% -0.038 0.1138)
OKLCHoklch(74.14% 0.12 108.5)
XYZxyz(35.5312, 41.4894, 13.7244)
Luminance0.4149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B150 #5051B2
analogous
#B28050 #B2B150 #82B250
triadic
#B2B150 #50B2B1 #B150B2
tetradic
#B2B150 #50B280 #5051B2 #B25082
square
#B2B150 #50B280 #5051B2 #B25082
split-complementary
#B2B150 #5082B2 #8050B2
monochromatic
#5E5E29 #89883C #B2B150 #C5C47A #D7D7A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B150#FFFFFF#000000##000000
##B2B1501.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)
#BEAB46
Deuteranopia (green-blind)
#BFAE55
Tritanopia (blue-blind)
#BDA79C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b2b150;
/* rgb */ color: rgb(178, 177, 80);
/* oklch */ color: oklch(74.1% 0.120 108.5);
Tailwind
colors: {
  custom: {
    50: '#cbc884',
    500: '#b2b150',
    950: '#000000',
  },
}
SCSS
$custom: #b2b150;
$custom-light: #cbc884;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b150",
  "rgb": {
    "r": 178,
    "g": 177,
    "b": 80
  },
  "hsl": {
    "h": 59.388,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74143,
    "c": 0.11996,
    "h": 108.5
  },
  "luminance": 0.41488
}

Semantic roles & 50–950 ramp

primary
#B2B150
secondary
#999AC5
accent
#5ACF59
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2B150

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

Preview Lab → · Contrast checker → · Palette generator →

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