#B2A950#B2A950

#B2A950 is a light, moderate yellow. Relative luminance 0.384; OKLCH L 72.4% C 0.111 H 103.5°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#B2A950
RGBrgb(178, 169, 80)
HSLhsl(54, 39%, 51%)
HSVhsv(54, 55%, 70%)
CMYKcmyk(0%, 5.1%, 55.1%, 30.2%)
CIE-LABlab(68.33, -8.56, 46.38)
CIE-LCHlch(68.33, 47.16, 100.46°)
OKLaboklab(72.4% -0.0261 0.1084)
OKLCHoklch(72.4% 0.111 103.5)
XYZxyz(33.9971, 38.4212, 13.2131)
Luminance0.3842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A950 #5059B2
analogous
#B27850 #B2A950 #8AB250
triadic
#B2A950 #50B2A9 #A950B2
tetradic
#B2A950 #50B278 #5059B2 #B2508A
square
#B2A950 #50B278 #5059B2 #B2508A
split-complementary
#B2A950 #508AB2 #7850B2
monochromatic
#5E5929 #89823C #B2A950 #C5BE7A #D7D3A5

Accessibility & contrast

On white

2.42
#B2A950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#B2A950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A950
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A950#FFFFFF#000000##000000
##B2A9501.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A447
Deuteranopia (green-blind)
#B9A954
Tritanopia (blue-blind)
#BE9F95
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b2a950;
/* rgb */ color: rgb(178, 169, 80);
/* oklch */ color: oklch(72.4% 0.111 103.5);
Tailwind
colors: {
  custom: {
    50: '#cbc284',
    500: '#b2a950',
    950: '#000000',
  },
}
SCSS
$custom: #b2a950;
$custom-light: #cbc284;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a950",
  "rgb": {
    "r": 178,
    "g": 169,
    "b": 80
  },
  "hsl": {
    "h": 54.49,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72402,
    "c": 0.11148,
    "h": 103.5
  },
  "luminance": 0.3842
}

Semantic roles & 50–950 ramp

primary
#B2A950
secondary
#999DC5
accent
#64CF59
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2A950

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

Preview Lab → · Contrast checker → · Palette generator →

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