#B2A15A#B2A15A

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

Color values

HEX#B2A15A
RGBrgb(178, 161, 90)
HSLhsl(48, 36%, 53%)
HSVhsv(48, 49%, 70%)
CMYKcmyk(0%, 9.6%, 49.4%, 30.2%)
CIE-LABlab(66.29, -3.43, 38.98)
CIE-LCHlch(66.29, 39.13, 95.03°)
OKLaboklab(70.82% -0.0102 0.0932)
OKLCHoklch(70.82% 0.094 96.2)
XYZxyz(32.9514, 35.6942, 14.8248)
Luminance0.3569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A15A #5A6BB2
analogous
#B2755A #B2A15A #97B25A
triadic
#B2A15A #5AB2A1 #A15AB2
tetradic
#B2A15A #5AB275 #5A6BB2 #B25A97
square
#B2A15A #5AB275 #5A6BB2 #B25A97
split-complementary
#B2A15A #5A97B2 #755AB2
monochromatic
#63592E #8D7E42 #B2A15A #C5B984 #D9D1AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2A15A#FFFFFF#000000##000000
##B2A15A1.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)
#AE9E54
Deuteranopia (green-blind)
#B2A45D
Tritanopia (blue-blind)
#BE9890
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b2a15a;
/* rgb */ color: rgb(178, 161, 90);
/* oklch */ color: oklch(70.8% 0.094 96.2);
Tailwind
colors: {
  custom: {
    50: '#cbbc8a',
    500: '#b2a15a',
    950: '#000000',
  },
}
SCSS
$custom: #b2a15a;
$custom-light: #cbbc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a15a",
  "rgb": {
    "r": 178,
    "g": 161,
    "b": 90
  },
  "hsl": {
    "h": 48.409,
    "s": 36.364,
    "l": 52.549
  },
  "oklch": {
    "l": 0.70821,
    "c": 0.09372,
    "h": 96.2
  },
  "luminance": 0.35693
}

Semantic roles & 50–950 ramp

primary
#B2A15A
secondary
#A1A8C7
accent
#71CC5B
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B2A15A

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

Preview Lab → · Contrast checker → · Palette generator →

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