#B2A746#B2A746

#B2A746 is a light, moderate yellow. Relative luminance 0.375; OKLCH L 71.9% C 0.119 H 102.9°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#B2A746
RGBrgb(178, 167, 70)
HSLhsl(54, 44%, 49%)
HSVhsv(54, 61%, 70%)
CMYKcmyk(0%, 6.2%, 60.7%, 30.2%)
CIE-LABlab(67.68, -8.28, 50.33)
CIE-LCHlch(67.68, 51.01, 99.34°)
OKLaboklab(71.86% -0.0264 0.1156)
OKLCHoklch(71.86% 0.119 102.9)
XYZxyz(33.2855, 37.5459, 11.2869)
Luminance0.3755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A746 #4651B2
analogous
#B27146 #B2A746 #87B246
triadic
#B2A746 #46B2A7 #A746B2
tetradic
#B2A746 #46B271 #4651B2 #B24687
square
#B2A746 #46B271 #4651B2 #B24687
split-complementary
#B2A746 #4687B2 #7146B2
monochromatic
#5A5523 #867E35 #B2A746 #C6BD6F #D8D19B

Accessibility & contrast

On white

2.47
#B2A746 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#B2A746 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A746
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A746#FFFFFF#000000##000000
##B2A7461.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A23B
Deuteranopia (green-blind)
#B8A74B
Tritanopia (blue-blind)
#BF9C92
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b2a746;
/* rgb */ color: rgb(178, 167, 70);
/* oklch */ color: oklch(71.9% 0.119 102.9);
Tailwind
colors: {
  custom: {
    50: '#ccc07d',
    500: '#b2a746',
    950: '#000000',
  },
}
SCSS
$custom: #b2a746;
$custom-light: #ccc07d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a746",
  "rgb": {
    "r": 178,
    "g": 167,
    "b": 70
  },
  "hsl": {
    "h": 53.889,
    "s": 43.548,
    "l": 48.627
  },
  "oklch": {
    "l": 0.71857,
    "c": 0.11861,
    "h": 102.9
  },
  "luminance": 0.37545
}

Semantic roles & 50–950 ramp

primary
#B2A746
secondary
#9095C4
accent
#61D355
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2A746

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

Preview Lab → · Contrast checker → · Palette generator →

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