#B2A246#B2A246

#B2A246 is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.8% C 0.114 H 99.5°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#B2A246
RGBrgb(178, 162, 70)
HSLhsl(51, 44%, 49%)
HSVhsv(51, 61%, 70%)
CMYKcmyk(0%, 9%, 60.7%, 30.2%)
CIE-LABlab(66.33, -5.63, 48.83)
CIE-LCHlch(66.33, 49.16, 96.58°)
OKLaboklab(70.78% -0.0188 0.1124)
OKLCHoklch(70.78% 0.114 99.5)
XYZxyz(32.3872, 35.7492, 10.9875)
Luminance0.3575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A246 #4656B2
analogous
#B26C46 #B2A246 #8CB246
triadic
#B2A246 #46B2A2 #A246B2
tetradic
#B2A246 #46B26C #4656B2 #B2468C
square
#B2A246 #46B26C #4656B2 #B2468C
split-complementary
#B2A246 #468CB2 #6C46B2
monochromatic
#5A5223 #867A35 #B2A246 #C6B96F #D8CF9B

Accessibility & contrast

On white

2.58
#B2A246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#B2A246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A246
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A246#FFFFFF#000000##000000
##B2A2461.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E3C
Deuteranopia (green-blind)
#B5A44B
Tritanopia (blue-blind)
#BF978E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b2a246;
/* rgb */ color: rgb(178, 162, 70);
/* oklch */ color: oklch(70.8% 0.114 99.5);
Tailwind
colors: {
  custom: {
    50: '#ccbd7d',
    500: '#b2a246',
    950: '#000000',
  },
}
SCSS
$custom: #b2a246;
$custom-light: #ccbd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a246",
  "rgb": {
    "r": 178,
    "g": 162,
    "b": 70
  },
  "hsl": {
    "h": 51.111,
    "s": 43.548,
    "l": 48.627
  },
  "oklch": {
    "l": 0.70781,
    "c": 0.114,
    "h": 99.5
  },
  "luminance": 0.35748
}

Semantic roles & 50–950 ramp

primary
#B2A246
secondary
#9098C4
accent
#67D355
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2A246

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

Preview Lab → · Contrast checker → · Palette generator →

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