#B2A448#B2A448

#B2A448 is a light, moderate yellow. Relative luminance 0.365; OKLCH L 71.2% C 0.114 H 100.7°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#B2A448
RGBrgb(178, 164, 72)
HSLhsl(52, 42%, 49%)
HSVhsv(52, 60%, 70%)
CMYKcmyk(0%, 7.9%, 59.6%, 30.2%)
CIE-LABlab(66.89, -6.55, 48.53)
CIE-LCHlch(66.89, 48.97, 97.68°)
OKLaboklab(71.23% -0.0212 0.112)
OKLCHoklch(71.23% 0.114 100.7)
XYZxyz(32.8065, 36.4851, 11.4439)
Luminance0.3648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A448 #4856B2
analogous
#B26F48 #B2A448 #8BB248
triadic
#B2A448 #48B2A4 #A448B2
tetradic
#B2A448 #48B26F #4856B2 #B2488B
square
#B2A448 #48B26F #4856B2 #B2488B
split-complementary
#B2A448 #488BB2 #6F48B2
monochromatic
#5B5425 #867C36 #B2A448 #C6BB71 #D7D09D

Accessibility & contrast

On white

2.53
#B2A448 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#B2A448 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A448
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A448#FFFFFF#000000##000000
##B2A4481.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A03E
Deuteranopia (green-blind)
#B6A54D
Tritanopia (blue-blind)
#BF9990
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b2a448;
/* rgb */ color: rgb(178, 164, 72);
/* oklch */ color: oklch(71.2% 0.114 100.7);
Tailwind
colors: {
  custom: {
    50: '#ccbe7e',
    500: '#b2a448',
    950: '#000000',
  },
}
SCSS
$custom: #b2a448;
$custom-light: #ccbe7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a448",
  "rgb": {
    "r": 178,
    "g": 164,
    "b": 72
  },
  "hsl": {
    "h": 52.075,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.71232,
    "c": 0.11403,
    "h": 100.7
  },
  "luminance": 0.36484
}

Semantic roles & 50–950 ramp

primary
#B2A448
secondary
#9299C4
accent
#66D256
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2A448

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

Preview Lab → · Contrast checker → · Palette generator →

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