#B2A343#B2A343

#B2A343 is a light, moderate yellow. Relative luminance 0.361; OKLCH L 71.0% C 0.117 H 100.5°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#B2A343
RGBrgb(178, 163, 67)
HSLhsl(52, 45%, 48%)
HSVhsv(52, 62%, 70%)
CMYKcmyk(0%, 8.4%, 62.4%, 30.2%)
CIE-LABlab(66.57, -6.37, 50.47)
CIE-LCHlch(66.57, 50.87, 97.19°)
OKLaboklab(70.96% -0.0213 0.1155)
OKLCHoklch(70.96% 0.117 100.5)
XYZxyz(32.4717, 36.0660, 10.5601)
Luminance0.3607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A343 #4352B2
analogous
#B26B43 #B2A343 #89B243
triadic
#B2A343 #43B2A3 #A343B2
tetradic
#B2A343 #43B26B #4352B2 #B24389
square
#B2A343 #43B26B #4352B2 #B24389
split-complementary
#B2A343 #4389B2 #6B43B2
monochromatic
#595222 #867A32 #B2A343 #C7BB6B #D8CF97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2A343#FFFFFF#000000##000000
##B2A3431.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)
#B19F38
Deuteranopia (green-blind)
#B6A448
Tritanopia (blue-blind)
#BF988E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b2a343;
/* rgb */ color: rgb(178, 163, 67);
/* oklch */ color: oklch(71.0% 0.117 100.5);
Tailwind
colors: {
  custom: {
    50: '#ccbe7b',
    500: '#b2a343',
    950: '#000000',
  },
}
SCSS
$custom: #b2a343;
$custom-light: #ccbe7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a343",
  "rgb": {
    "r": 178,
    "g": 163,
    "b": 67
  },
  "hsl": {
    "h": 51.892,
    "s": 45.306,
    "l": 48.039
  },
  "oklch": {
    "l": 0.70964,
    "c": 0.11746,
    "h": 100.5
  },
  "luminance": 0.36065
}

Semantic roles & 50–950 ramp

primary
#B2A343
secondary
#8D94C4
accent
#64D553
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2A343

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

Preview Lab → · Contrast checker → · Palette generator →

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