#B2A159#B2A159

#B2A159 is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.8% C 0.095 H 96.4°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#B2A159
RGBrgb(178, 161, 89)
HSLhsl(49, 37%, 52%)
HSVhsv(49, 50%, 70%)
CMYKcmyk(0%, 9.6%, 50%, 30.2%)
CIE-LABlab(66.27, -3.52, 39.48)
CIE-LCHlch(66.27, 39.63, 95.10°)
OKLaboklab(70.81% -0.0106 0.0942)
OKLCHoklch(70.81% 0.095 96.4)
XYZxyz(32.9092, 35.6773, 14.6022)
Luminance0.3568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A159 #596AB2
analogous
#B27459 #B2A159 #97B259
triadic
#B2A159 #59B2A1 #A159B2
tetradic
#B2A159 #59B274 #596AB2 #B25997
square
#B2A159 #59B274 #596AB2 #B25997
split-complementary
#B2A159 #5997B2 #7459B2
monochromatic
#63592E #8D7E41 #B2A159 #C5B983 #D9D0AD

Accessibility & contrast

On white

2.58
#B2A159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#B2A159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A159
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A159#FFFFFF#000000##000000
##B2A1591.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9E53
Deuteranopia (green-blind)
#B2A45C
Tritanopia (blue-blind)
#BE9790
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b2a159;
/* rgb */ color: rgb(178, 161, 89);
/* oklch */ color: oklch(70.8% 0.095 96.4);
Tailwind
colors: {
  custom: {
    50: '#cbbc89',
    500: '#b2a159',
    950: '#000000',
  },
}
SCSS
$custom: #b2a159;
$custom-light: #cbbc89;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a159",
  "rgb": {
    "r": 178,
    "g": 161,
    "b": 89
  },
  "hsl": {
    "h": 48.539,
    "s": 36.626,
    "l": 52.353
  },
  "oklch": {
    "l": 0.70806,
    "c": 0.09477,
    "h": 96.4
  },
  "luminance": 0.35676
}

Semantic roles & 50–950 ramp

primary
#B2A159
secondary
#A0A7C7
accent
#71CD5B
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B2A159

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

Preview Lab → · Contrast checker → · Palette generator →

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