#B2A346#B2A346

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

Color values

HEX#B2A346
RGBrgb(178, 163, 70)
HSLhsl(52, 44%, 49%)
HSVhsv(52, 61%, 70%)
CMYKcmyk(0%, 8.4%, 60.7%, 30.2%)
CIE-LABlab(66.60, -6.16, 49.13)
CIE-LCHlch(66.60, 49.52, 97.15°)
OKLaboklab(70.99% -0.0204 0.1131)
OKLCHoklch(70.99% 0.115 100.2)
XYZxyz(32.5640, 36.1029, 11.0464)
Luminance0.3610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A346 #4655B2
analogous
#B26D46 #B2A346 #8BB246
triadic
#B2A346 #46B2A3 #A346B2
tetradic
#B2A346 #46B26D #4655B2 #B2468B
square
#B2A346 #46B26D #4655B2 #B2468B
split-complementary
#B2A346 #468BB2 #6D46B2
monochromatic
#5A5323 #867B35 #B2A346 #C6BA6F #D8CF9B

Accessibility & contrast

On white

2.55
#B2A346 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#B2A346 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A346
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A346#FFFFFF#000000##000000
##B2A3461.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F3C
Deuteranopia (green-blind)
#B5A54B
Tritanopia (blue-blind)
#BF988F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b2a346;
/* rgb */ color: rgb(178, 163, 70);
/* oklch */ color: oklch(71.0% 0.115 100.2);
Tailwind
colors: {
  custom: {
    50: '#ccbe7d',
    500: '#b2a346',
    950: '#000000',
  },
}
SCSS
$custom: #b2a346;
$custom-light: #ccbe7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a346",
  "rgb": {
    "r": 178,
    "g": 163,
    "b": 70
  },
  "hsl": {
    "h": 51.667,
    "s": 43.548,
    "l": 48.627
  },
  "oklch": {
    "l": 0.70995,
    "c": 0.11489,
    "h": 100.2
  },
  "luminance": 0.36102
}

Semantic roles & 50–950 ramp

primary
#B2A346
secondary
#9097C4
accent
#66D355
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2A346

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

Preview Lab → · Contrast checker → · Palette generator →

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