#B2A970#B2A970

#B2A970 is a light, moderate yellow. Relative luminance 0.390; OKLCH L 72.9% C 0.077 H 100.3°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#B2A970
RGBrgb(178, 169, 112)
HSLhsl(52, 30%, 57%)
HSVhsv(52, 37%, 70%)
CMYKcmyk(0%, 5.1%, 37.1%, 30.2%)
CIE-LABlab(68.76, -5.35, 30.61)
CIE-LCHlch(68.76, 31.07, 99.92°)
OKLaboklab(72.88% -0.0138 0.0755)
OKLCHoklch(72.88% 0.077 100.3)
XYZxyz(35.4732, 39.0117, 20.9875)
Luminance0.3901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A970 #7079B2
analogous
#B28870 #B2A970 #9AB270
triadic
#B2A970 #70B2A9 #A970B2
tetradic
#B2A970 #70B288 #7079B2 #B2709A
square
#B2A970 #70B288 #7079B2 #B2709A
split-complementary
#B2A970 #709AB2 #8870B2
monochromatic
#6D663B #958B50 #B2A970 #C7C198 #DDD9C0

Accessibility & contrast

On white

2.39
#B2A970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#B2A970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A970
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A970#FFFFFF#000000##000000
##B2A9701.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A66C
Deuteranopia (green-blind)
#B6A972
Tritanopia (blue-blind)
#BBA19B
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2a970;
/* rgb */ color: rgb(178, 169, 112);
/* oklch */ color: oklch(72.9% 0.077 100.3);
Tailwind
colors: {
  custom: {
    50: '#cac299',
    500: '#b2a970',
    950: '#000000',
  },
}
SCSS
$custom: #b2a970;
$custom-light: #cac299;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a970",
  "rgb": {
    "r": 178,
    "g": 169,
    "b": 112
  },
  "hsl": {
    "h": 51.818,
    "s": 30,
    "l": 56.863
  },
  "oklch": {
    "l": 0.72883,
    "c": 0.07671,
    "h": 100.3
  },
  "luminance": 0.39011
}

Semantic roles & 50–950 ramp

primary
#B2A970
secondary
#B1B5CC
accent
#6FC662
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #B2A970

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

Preview Lab → · Contrast checker → · Palette generator →

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