#B2A154#B2A154

#B2A154 is a light, moderate yellow. Relative luminance 0.356; OKLCH L 70.7% C 0.100 H 97.2°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#B2A154
RGBrgb(178, 161, 84)
HSLhsl(49, 38%, 51%)
HSVhsv(49, 53%, 70%)
CMYKcmyk(0%, 9.6%, 52.8%, 30.2%)
CIE-LABlab(66.21, -3.98, 41.93)
CIE-LCHlch(66.21, 42.12, 95.42°)
OKLaboklab(70.74% -0.0124 0.0991)
OKLCHoklch(70.74% 0.1 97.2)
XYZxyz(32.7063, 35.5961, 13.5337)
Luminance0.3559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A154 #5465B2
analogous
#B27254 #B2A154 #94B254
triadic
#B2A154 #54B2A1 #A154B2
tetradic
#B2A154 #54B272 #5465B2 #B25494
square
#B2A154 #54B272 #5465B2 #B25494
split-complementary
#B2A154 #5494B2 #7254B2
monochromatic
#60572B #8A7D3E #B2A154 #C5B87E #D8CFA8

Accessibility & contrast

On white

2.59
#B2A154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#B2A154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A154
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A154#FFFFFF#000000##000000
##B2A1541.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9E4D
Deuteranopia (green-blind)
#B3A357
Tritanopia (blue-blind)
#BE978F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b2a154;
/* rgb */ color: rgb(178, 161, 84);
/* oklch */ color: oklch(70.7% 0.100 97.2);
Tailwind
colors: {
  custom: {
    50: '#cbbc86',
    500: '#b2a154',
    950: '#000000',
  },
}
SCSS
$custom: #b2a154;
$custom-light: #cbbc86;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a154",
  "rgb": {
    "r": 178,
    "g": 161,
    "b": 84
  },
  "hsl": {
    "h": 49.149,
    "s": 37.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.70736,
    "c": 0.09991,
    "h": 97.2
  },
  "luminance": 0.35595
}

Semantic roles & 50–950 ramp

primary
#B2A154
secondary
#9CA4C6
accent
#6FCE5A
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2A154

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

Preview Lab → · Contrast checker → · Palette generator →

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