#B2A150#B2A150

#B2A150 is a light, moderate yellow. Relative luminance 0.355; OKLCH L 70.7% C 0.104 H 97.7°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#B2A150
RGBrgb(178, 161, 80)
HSLhsl(50, 39%, 51%)
HSVhsv(50, 55%, 70%)
CMYKcmyk(0%, 9.6%, 55.1%, 30.2%)
CIE-LABlab(66.16, -4.32, 43.86)
CIE-LCHlch(66.16, 44.07, 95.63°)
OKLaboklab(70.68% -0.0139 0.1029)
OKLCHoklch(70.68% 0.104 97.7)
XYZxyz(32.5541, 35.5352, 12.7321)
Luminance0.3553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A150 #5061B2
analogous
#B27050 #B2A150 #92B250
triadic
#B2A150 #50B2A1 #A150B2
tetradic
#B2A150 #50B270 #5061B2 #B25092
square
#B2A150 #50B270 #5061B2 #B25092
split-complementary
#B2A150 #5092B2 #7050B2
monochromatic
#5E5529 #897B3C #B2A150 #C5B87A #D7CFA5

Accessibility & contrast

On white

2.59
#B2A150 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#B2A150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A150
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A150#FFFFFF#000000##000000
##B2A1501.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D48
Deuteranopia (green-blind)
#B3A354
Tritanopia (blue-blind)
#BE978F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b2a150;
/* rgb */ color: rgb(178, 161, 80);
/* oklch */ color: oklch(70.7% 0.104 97.7);
Tailwind
colors: {
  custom: {
    50: '#cbbc83',
    500: '#b2a150',
    950: '#000000',
  },
}
SCSS
$custom: #b2a150;
$custom-light: #cbbc83;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a150",
  "rgb": {
    "r": 178,
    "g": 161,
    "b": 80
  },
  "hsl": {
    "h": 49.592,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.70684,
    "c": 0.10386,
    "h": 97.7
  },
  "luminance": 0.35534
}

Semantic roles & 50–950 ramp

primary
#B2A150
secondary
#99A1C5
accent
#6DCF59
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2A150

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

Preview Lab → · Contrast checker → · Palette generator →

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