#B3B271#B3B271

#B3B271 is a light, moderate yellow. Relative luminance 0.426; OKLCH L 74.9% C 0.086 H 107.5°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#B3B271
RGBrgb(179, 178, 113)
HSLhsl(59, 30%, 57%)
HSVhsv(59, 37%, 70%)
CMYKcmyk(0%, 0.6%, 36.9%, 29.8%)
CIE-LABlab(71.29, -9.58, 33.38)
CIE-LCHlch(71.29, 34.73, 106.01°)
OKLaboklab(74.92% -0.0259 0.0819)
OKLCHoklch(74.92% 0.086 107.5)
XYZxyz(37.4919, 42.6175, 21.8706)
Luminance0.4262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B271 #7172B3
analogous
#B39171 #B3B271 #93B371
triadic
#B3B271 #71B3B2 #B271B3
tetradic
#B3B271 #71B391 #7172B3 #B37193
square
#B3B271 #71B391 #7172B3 #B37193
split-complementary
#B3B271 #7193B3 #9171B3
monochromatic
#6E6E3B #969550 #B3B271 #C8C899 #DEDDC1

Accessibility & contrast

On white

2.21
#B3B271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#B3B271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B271
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B271#FFFFFF#000000##000000
##B3B2711.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAD6C
Deuteranopia (green-blind)
#BDB074
Tritanopia (blue-blind)
#BCAAA2
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b3b271;
/* rgb */ color: rgb(179, 178, 113);
/* oklch */ color: oklch(74.9% 0.086 107.5);
Tailwind
colors: {
  custom: {
    50: '#cbc89a',
    500: '#b3b271',
    950: '#000000',
  },
}
SCSS
$custom: #b3b271;
$custom-light: #cbc89a;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b271",
  "rgb": {
    "r": 179,
    "g": 178,
    "b": 113
  },
  "hsl": {
    "h": 59.091,
    "s": 30.275,
    "l": 57.255
  },
  "oklch": {
    "l": 0.74918,
    "c": 0.08589,
    "h": 107.5
  },
  "luminance": 0.42617
}

Semantic roles & 50–950 ramp

primary
#B3B271
secondary
#B3B3CD
accent
#63C761
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #B3B271

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

Preview Lab → · Contrast checker → · Palette generator →

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