#B2A145#B2A145

#B2A145 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.6% C 0.114 H 98.9°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#B2A145
RGBrgb(178, 161, 69)
HSLhsl(51, 44%, 48%)
HSVhsv(51, 61%, 70%)
CMYKcmyk(0%, 9.6%, 61.2%, 30.2%)
CIE-LABlab(66.05, -5.17, 48.98)
CIE-LCHlch(66.05, 49.26, 96.02°)
OKLaboklab(70.56% -0.0176 0.1126)
OKLCHoklch(70.56% 0.114 98.9)
XYZxyz(32.1804, 35.3858, 10.7641)
Luminance0.3538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A145 #4556B2
analogous
#B26A45 #B2A145 #8CB245
triadic
#B2A145 #45B2A1 #A145B2
tetradic
#B2A145 #45B26A #4556B2 #B2458C
square
#B2A145 #45B26A #4556B2 #B2458C
split-complementary
#B2A145 #458CB2 #6A45B2
monochromatic
#5A5123 #867934 #B2A145 #C7B96E #D8CE9A

Accessibility & contrast

On white

2.60
#B2A145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#B2A145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A145
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A145#FFFFFF#000000##000000
##B2A1451.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D3B
Deuteranopia (green-blind)
#B4A34A
Tritanopia (blue-blind)
#BF968D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b2a145;
/* rgb */ color: rgb(178, 161, 69);
/* oklch */ color: oklch(70.6% 0.114 98.9);
Tailwind
colors: {
  custom: {
    50: '#ccbc7c',
    500: '#b2a145',
    950: '#000000',
  },
}
SCSS
$custom: #b2a145;
$custom-light: #ccbc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a145",
  "rgb": {
    "r": 178,
    "g": 161,
    "b": 69
  },
  "hsl": {
    "h": 50.642,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.70556,
    "c": 0.11399,
    "h": 98.9
  },
  "luminance": 0.35384
}

Semantic roles & 50–950 ramp

primary
#B2A145
secondary
#8F97C4
accent
#68D454
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2A145

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

Preview Lab → · Contrast checker → · Palette generator →

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