#B2A341#B2A341

#B2A341 is a light, moderate yellow. Relative luminance 0.360; OKLCH L 70.9% C 0.119 H 100.6°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#B2A341
RGBrgb(178, 163, 65)
HSLhsl(52, 47%, 48%)
HSVhsv(52, 63%, 70%)
CMYKcmyk(0%, 8.4%, 63.5%, 30.2%)
CIE-LABlab(66.55, -6.50, 51.35)
CIE-LCHlch(66.55, 51.76, 97.22°)
OKLaboklab(70.94% -0.0219 0.1171)
OKLCHoklch(70.94% 0.119 100.6)
XYZxyz(32.4127, 36.0424, 10.2496)
Luminance0.3604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A341 #4150B2
analogous
#B26A41 #B2A341 #89B241
triadic
#B2A341 #41B2A3 #A341B2
tetradic
#B2A341 #41B26A #4150B2 #B24189
square
#B2A341 #41B26A #4150B2 #B24189
split-complementary
#B2A341 #4189B2 #6A41B2
monochromatic
#585120 #857A31 #B2A341 #C8BB68 #D8CF95

Accessibility & contrast

On white

2.56
#B2A341 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#B2A341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A341
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A341#FFFFFF#000000##000000
##B2A3411.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E36
Deuteranopia (green-blind)
#B6A446
Tritanopia (blue-blind)
#BF988E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b2a341;
/* rgb */ color: rgb(178, 163, 65);
/* oklch */ color: oklch(70.9% 0.119 100.6);
Tailwind
colors: {
  custom: {
    50: '#ccbe7a',
    500: '#b2a341',
    950: '#000000',
  },
}
SCSS
$custom: #b2a341;
$custom-light: #ccbe7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a341",
  "rgb": {
    "r": 178,
    "g": 163,
    "b": 65
  },
  "hsl": {
    "h": 52.035,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.70944,
    "c": 0.11912,
    "h": 100.6
  },
  "luminance": 0.36041
}

Semantic roles & 50–950 ramp

primary
#B2A341
secondary
#8B92C4
accent
#63D652
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B2A341

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

Preview Lab → · Contrast checker → · Palette generator →

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