#B2A146#B2A146

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

Color values

HEX#B2A146
RGBrgb(178, 161, 70)
HSLhsl(51, 44%, 49%)
HSVhsv(51, 61%, 70%)
CMYKcmyk(0%, 9.6%, 60.7%, 30.2%)
CIE-LABlab(66.06, -5.10, 48.53)
CIE-LCHlch(66.06, 48.80, 95.99°)
OKLaboklab(70.57% -0.0173 0.1118)
OKLCHoklch(70.57% 0.113 98.8)
XYZxyz(32.2117, 35.3983, 10.9290)
Luminance0.3540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A146 #4657B2
analogous
#B26B46 #B2A146 #8DB246
triadic
#B2A146 #46B2A1 #A146B2
tetradic
#B2A146 #46B26B #4657B2 #B2468D
square
#B2A146 #46B26B #4657B2 #B2468D
split-complementary
#B2A146 #468DB2 #6B46B2
monochromatic
#5A5223 #867935 #B2A146 #C6B96F #D8CE9B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2A146#FFFFFF#000000##000000
##B2A1461.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)
#AF9D3C
Deuteranopia (green-blind)
#B4A34A
Tritanopia (blue-blind)
#BF968D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b2a146;
/* rgb */ color: rgb(178, 161, 70);
/* oklch */ color: oklch(70.6% 0.113 98.8);
Tailwind
colors: {
  custom: {
    50: '#ccbc7d',
    500: '#b2a146',
    950: '#000000',
  },
}
SCSS
$custom: #b2a146;
$custom-light: #ccbc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a146",
  "rgb": {
    "r": 178,
    "g": 161,
    "b": 70
  },
  "hsl": {
    "h": 50.556,
    "s": 43.548,
    "l": 48.627
  },
  "oklch": {
    "l": 0.70566,
    "c": 0.11312,
    "h": 98.8
  },
  "luminance": 0.35397
}

Semantic roles & 50–950 ramp

primary
#B2A146
secondary
#9098C4
accent
#68D355
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2A146

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

Preview Lab → · Contrast checker → · Palette generator →

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