#B2A046#B2A046

#B2A046 is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.4% C 0.112 H 98.1°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#B2A046
RGBrgb(178, 160, 70)
HSLhsl(50, 44%, 49%)
HSVhsv(50, 61%, 70%)
CMYKcmyk(0%, 10.1%, 60.7%, 30.2%)
CIE-LABlab(65.79, -4.56, 48.23)
CIE-LCHlch(65.79, 48.45, 95.40°)
OKLaboklab(70.35% -0.0158 0.1112)
OKLCHoklch(70.35% 0.112 98.1)
XYZxyz(32.0377, 35.0502, 10.8710)
Luminance0.3505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A046 #4658B2
analogous
#B26A46 #B2A046 #8EB246
triadic
#B2A046 #46B2A0 #A046B2
tetradic
#B2A046 #46B26A #4658B2 #B2468E
square
#B2A046 #46B26A #4658B2 #B2468E
split-complementary
#B2A046 #468EB2 #6A46B2
monochromatic
#5A5123 #867935 #B2A046 #C6B86F #D8CD9B

Accessibility & contrast

On white

2.62
#B2A046 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#B2A046 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A046
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A046#FFFFFF#000000##000000
##B2A0461.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C3C
Deuteranopia (green-blind)
#B3A34A
Tritanopia (blue-blind)
#BF958C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b2a046;
/* rgb */ color: rgb(178, 160, 70);
/* oklch */ color: oklch(70.4% 0.112 98.1);
Tailwind
colors: {
  custom: {
    50: '#ccbb7d',
    500: '#b2a046',
    950: '#000000',
  },
}
SCSS
$custom: #b2a046;
$custom-light: #ccbb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a046",
  "rgb": {
    "r": 178,
    "g": 160,
    "b": 70
  },
  "hsl": {
    "h": 50,
    "s": 43.548,
    "l": 48.627
  },
  "oklch": {
    "l": 0.70353,
    "c": 0.11226,
    "h": 98.1
  },
  "luminance": 0.35049
}

Semantic roles & 50–950 ramp

primary
#B2A046
secondary
#9099C4
accent
#6AD355
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14110A
muted
#82807C

Preview Lab

Preview with #B2A046

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

Preview Lab → · Contrast checker → · Palette generator →

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