#B2A84A#B2A84A

#B2A84A is a light, moderate yellow. Relative luminance 0.380; OKLCH L 72.1% C 0.116 H 103.3°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#B2A84A
RGBrgb(178, 168, 74)
HSLhsl(54, 41%, 49%)
HSVhsv(54, 58%, 70%)
CMYKcmyk(0%, 5.6%, 58.4%, 30.2%)
CIE-LABlab(68.00, -8.51, 48.84)
CIE-LCHlch(68.00, 49.57, 99.89°)
OKLaboklab(72.12% -0.0266 0.113)
OKLCHoklch(72.12% 0.116 103.3)
XYZxyz(33.5999, 37.9659, 12.0355)
Luminance0.3796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A84A #4A54B2
analogous
#B2744A #B2A84A #88B24A
triadic
#B2A84A #4AB2A8 #A84AB2
tetradic
#B2A84A #4AB274 #4A54B2 #B24A88
square
#B2A84A #4AB274 #4A54B2 #B24A88
split-complementary
#B2A84A #4A88B2 #744AB2
monochromatic
#5C5626 #877F38 #B2A84A #C5BD74 #D7D29F

Accessibility & contrast

On white

2.44
#B2A84A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#B2A84A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A84A
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A84A#FFFFFF#000000##000000
##B2A84A1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A340
Deuteranopia (green-blind)
#B9A84F
Tritanopia (blue-blind)
#BE9E93
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b2a84a;
/* rgb */ color: rgb(178, 168, 74);
/* oklch */ color: oklch(72.1% 0.116 103.3);
Tailwind
colors: {
  custom: {
    50: '#cbc180',
    500: '#b2a84a',
    950: '#000000',
  },
}
SCSS
$custom: #b2a84a;
$custom-light: #cbc180;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a84a",
  "rgb": {
    "r": 178,
    "g": 168,
    "b": 74
  },
  "hsl": {
    "h": 54.231,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.72117,
    "c": 0.11605,
    "h": 103.3
  },
  "luminance": 0.37965
}

Semantic roles & 50–950 ramp

primary
#B2A84A
secondary
#9499C4
accent
#62D157
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2A84A

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

Preview Lab → · Contrast checker → · Palette generator →

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