#B2A554#B2A554

#B2A554 is a light, moderate yellow. Relative luminance 0.370; OKLCH L 71.6% C 0.104 H 100.3°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#B2A554
RGBrgb(178, 165, 84)
HSLhsl(52, 38%, 51%)
HSVhsv(52, 53%, 70%)
CMYKcmyk(0%, 7.3%, 52.8%, 30.2%)
CIE-LABlab(67.29, -6.11, 43.21)
CIE-LCHlch(67.29, 43.64, 98.05°)
OKLaboklab(71.59% -0.0186 0.1019)
OKLCHoklch(71.59% 0.104 100.3)
XYZxyz(33.4165, 37.0166, 13.7705)
Luminance0.3701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A554 #5461B2
analogous
#B27654 #B2A554 #90B254
triadic
#B2A554 #54B2A5 #A554B2
tetradic
#B2A554 #54B276 #5461B2 #B25490
square
#B2A554 #54B276 #5461B2 #B25490
split-complementary
#B2A554 #5490B2 #7654B2
monochromatic
#60592B #8A803E #B2A554 #C5BB7E #D8D1A8

Accessibility & contrast

On white

2.50
#B2A554 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#B2A554 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A554
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A554#FFFFFF#000000##000000
##B2A5541.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A14D
Deuteranopia (green-blind)
#B6A658
Tritanopia (blue-blind)
#BE9B92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a554;
/* rgb */ color: rgb(178, 165, 84);
/* oklch */ color: oklch(71.6% 0.104 100.3);
Tailwind
colors: {
  custom: {
    50: '#cbbf86',
    500: '#b2a554',
    950: '#000000',
  },
}
SCSS
$custom: #b2a554;
$custom-light: #cbbf86;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a554",
  "rgb": {
    "r": 178,
    "g": 165,
    "b": 84
  },
  "hsl": {
    "h": 51.702,
    "s": 37.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.71591,
    "c": 0.10361,
    "h": 100.3
  },
  "luminance": 0.37015
}

Semantic roles & 50–950 ramp

primary
#B2A554
secondary
#9CA2C6
accent
#6ACE5A
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2A554

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

Preview Lab → · Contrast checker → · Palette generator →

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