#B2A559#B2A559

#B2A559 is a light, moderate yellow. Relative luminance 0.371; OKLCH L 71.7% C 0.098 H 99.8°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#B2A559
RGBrgb(178, 165, 89)
HSLhsl(51, 37%, 52%)
HSVhsv(51, 50%, 70%)
CMYKcmyk(0%, 7.3%, 50%, 30.2%)
CIE-LABlab(67.35, -5.66, 40.78)
CIE-LCHlch(67.35, 41.18, 97.90°)
OKLaboklab(71.66% -0.0167 0.0971)
OKLCHoklch(71.66% 0.098 99.8)
XYZxyz(33.6194, 37.0977, 14.8389)
Luminance0.3710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A559 #5966B2
analogous
#B27959 #B2A559 #93B259
triadic
#B2A559 #59B2A5 #A559B2
tetradic
#B2A559 #59B279 #5966B2 #B25993
square
#B2A559 #59B279 #5966B2 #B25993
split-complementary
#B2A559 #5993B2 #7959B2
monochromatic
#635B2E #8D8241 #B2A559 #C5BC83 #D9D2AD

Accessibility & contrast

On white

2.49
#B2A559 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#B2A559 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A559
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A559#FFFFFF#000000##000000
##B2A5591.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A152
Deuteranopia (green-blind)
#B5A65C
Tritanopia (blue-blind)
#BE9B93
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a559;
/* rgb */ color: rgb(178, 165, 89);
/* oklch */ color: oklch(71.7% 0.098 99.8);
Tailwind
colors: {
  custom: {
    50: '#cbbf8a',
    500: '#b2a559',
    950: '#000000',
  },
}
SCSS
$custom: #b2a559;
$custom-light: #cbbf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a559",
  "rgb": {
    "r": 178,
    "g": 165,
    "b": 89
  },
  "hsl": {
    "h": 51.236,
    "s": 36.626,
    "l": 52.353
  },
  "oklch": {
    "l": 0.71659,
    "c": 0.09849,
    "h": 99.8
  },
  "luminance": 0.37097
}

Semantic roles & 50–950 ramp

primary
#B2A559
secondary
#A0A6C7
accent
#6CCD5B
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B2A559

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

Preview Lab → · Contrast checker → · Palette generator →

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