#B2B970#B2B970

#B2B970 is a light, moderate yellow. Relative luminance 0.453; OKLCH L 76.3% C 0.096 H 113.1°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#B2B970
RGBrgb(178, 185, 112)
HSLhsl(66, 34%, 58%)
HSVhsv(66, 39%, 73%)
CMYKcmyk(3.8%, 0%, 39.5%, 27.5%)
CIE-LABlab(73.11, -13.72, 36.21)
CIE-LCHlch(73.11, 38.72, 110.75°)
OKLaboklab(76.34% -0.0378 0.0883)
OKLCHoklch(76.34% 0.096 113.1)
XYZxyz(38.6340, 45.3333, 22.0411)
Luminance0.4533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B970 #7770B9
analogous
#B99B70 #B2B970 #8DB970
triadic
#B2B970 #70B2B9 #B970B2
tetradic
#B2B970 #70B99B #7770B9 #B9708D
square
#B2B970 #70B99B #7770B9 #B9708D
split-complementary
#B2B970 #708DB9 #9B70B9
monochromatic
#6F7539 #979E4D #B2B970 #C8CD99 #DEE1C2

Accessibility & contrast

On white

2.09
#B2B970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#B2B970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B970
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B970#FFFFFF#000000##000000
##B2B9701.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B36A
Deuteranopia (green-blind)
#C3B473
Tritanopia (blue-blind)
#BAB1A7
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b2b970;
/* rgb */ color: rgb(178, 185, 112);
/* oklch */ color: oklch(76.3% 0.096 113.1);
Tailwind
colors: {
  custom: {
    50: '#cace9a',
    500: '#b2b970',
    950: '#000000',
  },
}
SCSS
$custom: #b2b970;
$custom-light: #cace9a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b970",
  "rgb": {
    "r": 178,
    "g": 185,
    "b": 112
  },
  "hsl": {
    "h": 65.753,
    "s": 34.272,
    "l": 58.235
  },
  "oklch": {
    "l": 0.76338,
    "c": 0.09605,
    "h": 113.1
  },
  "luminance": 0.45333
}

Semantic roles & 50–950 ramp

primary
#B2B970
secondary
#B7B4D1
accent
#5DCA68
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #B2B970

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

Preview Lab → · Contrast checker → · Palette generator →

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