#B2B157#B2B157

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

Color values

HEX#B2B157
RGBrgb(178, 177, 87)
HSLhsl(59, 37%, 52%)
HSVhsv(59, 51%, 70%)
CMYKcmyk(0%, 0.6%, 51.1%, 30.2%)
CIE-LABlab(70.59, -12.14, 45.64)
CIE-LCHlch(70.59, 47.23, 104.90°)
OKLaboklab(74.23% -0.0355 0.1075)
OKLCHoklch(74.23% 0.113 108.3)
XYZxyz(35.8034, 41.5983, 15.1582)
Luminance0.4160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B157 #5758B2
analogous
#B28457 #B2B157 #86B257
triadic
#B2B157 #57B2B1 #B157B2
tetradic
#B2B157 #57B284 #5758B2 #B25786
square
#B2B157 #57B284 #5758B2 #B25786
split-complementary
#B2B157 #5786B2 #8457B2
monochromatic
#62612D #8C8B40 #B2B157 #C5C481 #D8D8AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B157#FFFFFF#000000##000000
##B2B1571.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)
#BDAB4F
Deuteranopia (green-blind)
#BFAE5C
Tritanopia (blue-blind)
#BDA79D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b2b157;
/* rgb */ color: rgb(178, 177, 87);
/* oklch */ color: oklch(74.2% 0.113 108.3);
Tailwind
colors: {
  custom: {
    50: '#cbc889',
    500: '#b2b157',
    950: '#000000',
  },
}
SCSS
$custom: #b2b157;
$custom-light: #cbc889;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b157",
  "rgb": {
    "r": 178,
    "g": 177,
    "b": 87
  },
  "hsl": {
    "h": 59.341,
    "s": 37.143,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74228,
    "c": 0.11323,
    "h": 108.3
  },
  "luminance": 0.41597
}

Semantic roles & 50–950 ramp

primary
#B2B157
secondary
#9E9FC6
accent
#5CCD5B
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130C
muted
#82827D

Preview Lab

Preview with #B2B157

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

Preview Lab → · Contrast checker → · Palette generator →

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