#B2A141#B2A141

#B2A141 is a light, moderate yellow. Relative luminance 0.353; OKLCH L 70.5% C 0.117 H 99.3°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#B2A141
RGBrgb(178, 161, 65)
HSLhsl(51, 47%, 48%)
HSVhsv(51, 63%, 70%)
CMYKcmyk(0%, 9.6%, 63.5%, 30.2%)
CIE-LABlab(66.01, -5.44, 50.77)
CIE-LCHlch(66.01, 51.06, 96.12°)
OKLaboklab(70.51% -0.0189 0.1158)
OKLCHoklch(70.51% 0.117 99.3)
XYZxyz(32.0604, 35.3378, 10.1321)
Luminance0.3534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A141 #4152B2
analogous
#B26841 #B2A141 #8BB241
triadic
#B2A141 #41B2A1 #A141B2
tetradic
#B2A141 #41B268 #4152B2 #B2418B
square
#B2A141 #41B268 #4152B2 #B2418B
split-complementary
#B2A141 #418BB2 #6841B2
monochromatic
#585020 #857831 #B2A141 #C8BA68 #D8CE95

Accessibility & contrast

On white

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

On black

8.07
#B2A141 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A141
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A141#FFFFFF#000000##000000
##B2A1411.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2a141;
/* rgb */ color: rgb(178, 161, 65);
/* oklch */ color: oklch(70.5% 0.117 99.3);
Tailwind
colors: {
  custom: {
    50: '#ccbc7a',
    500: '#b2a141',
    950: '#000000',
  },
}
SCSS
$custom: #b2a141;
$custom-light: #ccbc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a141",
  "rgb": {
    "r": 178,
    "g": 161,
    "b": 65
  },
  "hsl": {
    "h": 50.973,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.70514,
    "c": 0.11737,
    "h": 99.3
  },
  "luminance": 0.35336
}

Semantic roles & 50–950 ramp

primary
#B2A141
secondary
#8B93C4
accent
#66D652
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B2A141

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

Preview Lab → · Contrast checker → · Palette generator →

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