#B2B154#B2B154

#B2B154 is a light, moderate yellow. Relative luminance 0.415; OKLCH L 74.2% C 0.116 H 108.4°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#B2B154
RGBrgb(178, 177, 84)
HSLhsl(59, 38%, 51%)
HSVhsv(59, 53%, 70%)
CMYKcmyk(0%, 0.6%, 52.8%, 30.2%)
CIE-LABlab(70.56, -12.40, 47.05)
CIE-LCHlch(70.56, 48.65, 104.77°)
OKLaboklab(74.19% -0.0366 0.1103)
OKLCHoklch(74.19% 0.116 108.4)
XYZxyz(35.6834, 41.5503, 14.5261)
Luminance0.4155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B154 #5455B2
analogous
#B28254 #B2B154 #84B254
triadic
#B2B154 #54B2B1 #B154B2
tetradic
#B2B154 #54B282 #5455B2 #B25484
square
#B2B154 #54B282 #5455B2 #B25484
split-complementary
#B2B154 #5484B2 #8254B2
monochromatic
#60602B #8A8A3E #B2B154 #C5C47E #D8D7A8

Accessibility & contrast

On white

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

On black

9.31
#B2B154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B154
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B154#FFFFFF#000000##000000
##B2B1541.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB4B
Deuteranopia (green-blind)
#BFAE59
Tritanopia (blue-blind)
#BDA79C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b2b154;
/* rgb */ color: rgb(178, 177, 84);
/* oklch */ color: oklch(74.2% 0.116 108.4);
Tailwind
colors: {
  custom: {
    50: '#cbc887',
    500: '#b2b154',
    950: '#000000',
  },
}
SCSS
$custom: #b2b154;
$custom-light: #cbc887;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b154",
  "rgb": {
    "r": 178,
    "g": 177,
    "b": 84
  },
  "hsl": {
    "h": 59.362,
    "s": 37.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.7419,
    "c": 0.11617,
    "h": 108.4
  },
  "luminance": 0.41549
}

Semantic roles & 50–950 ramp

primary
#B2B154
secondary
#9C9DC6
accent
#5BCE5A
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2B154

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

Preview Lab → · Contrast checker → · Palette generator →

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