#B2A459#B2A459

#B2A459 is a light, moderate yellow. Relative luminance 0.367; OKLCH L 71.4% C 0.098 H 99.0°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#B2A459
RGBrgb(178, 164, 89)
HSLhsl(51, 37%, 52%)
HSVhsv(51, 50%, 70%)
CMYKcmyk(0%, 7.9%, 50%, 30.2%)
CIE-LABlab(67.08, -5.13, 40.46)
CIE-LCHlch(67.08, 40.78, 97.23°)
OKLaboklab(71.45% -0.0152 0.0963)
OKLCHoklch(71.45% 0.098 99)
XYZxyz(33.4397, 36.7384, 14.7790)
Luminance0.3674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A459 #5967B2
analogous
#B27859 #B2A459 #94B259
triadic
#B2A459 #59B2A4 #A459B2
tetradic
#B2A459 #59B278 #5967B2 #B25994
square
#B2A459 #59B278 #5967B2 #B25994
split-complementary
#B2A459 #5994B2 #7859B2
monochromatic
#635A2E #8D8141 #B2A459 #C5BB83 #D9D2AD

Accessibility & contrast

On white

2.52
#B2A459 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#B2A459 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A459
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A459#FFFFFF#000000##000000
##B2A4591.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A053
Deuteranopia (green-blind)
#B5A65C
Tritanopia (blue-blind)
#BE9A92
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b2a459;
/* rgb */ color: rgb(178, 164, 89);
/* oklch */ color: oklch(71.4% 0.098 99.0);
Tailwind
colors: {
  custom: {
    50: '#cbbe89',
    500: '#b2a459',
    950: '#000000',
  },
}
SCSS
$custom: #b2a459;
$custom-light: #cbbe89;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a459",
  "rgb": {
    "r": 178,
    "g": 164,
    "b": 89
  },
  "hsl": {
    "h": 50.562,
    "s": 36.626,
    "l": 52.353
  },
  "oklch": {
    "l": 0.71445,
    "c": 0.09753,
    "h": 99
  },
  "luminance": 0.36737
}

Semantic roles & 50–950 ramp

primary
#B2A459
secondary
#A0A6C7
accent
#6DCD5B
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B2A459

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

Preview Lab → · Contrast checker → · Palette generator →

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