#B2A148#B2A148

#B2A148 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.6% C 0.111 H 98.6°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#B2A148
RGBrgb(178, 161, 72)
HSLhsl(50, 42%, 49%)
HSVhsv(50, 60%, 70%)
CMYKcmyk(0%, 9.6%, 59.6%, 30.2%)
CIE-LABlab(66.08, -4.95, 47.62)
CIE-LCHlch(66.08, 47.87, 95.93°)
OKLaboklab(70.59% -0.0167 0.1101)
OKLCHoklch(70.59% 0.111 98.6)
XYZxyz(32.2759, 35.4240, 11.2670)
Luminance0.3542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A148 #4859B2
analogous
#B26C48 #B2A148 #8EB248
triadic
#B2A148 #48B2A1 #A148B2
tetradic
#B2A148 #48B26C #4859B2 #B2488E
square
#B2A148 #48B26C #4859B2 #B2488E
split-complementary
#B2A148 #488EB2 #6C48B2
monochromatic
#5B5225 #867A36 #B2A148 #C6B871 #D7CE9D

Accessibility & contrast

On white

2.60
#B2A148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#B2A148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A148
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A148#FFFFFF#000000##000000
##B2A1481.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D3F
Deuteranopia (green-blind)
#B4A34C
Tritanopia (blue-blind)
#BF968D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b2a148;
/* rgb */ color: rgb(178, 161, 72);
/* oklch */ color: oklch(70.6% 0.111 98.6);
Tailwind
colors: {
  custom: {
    50: '#ccbc7e',
    500: '#b2a148',
    950: '#000000',
  },
}
SCSS
$custom: #b2a148;
$custom-light: #ccbc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a148",
  "rgb": {
    "r": 178,
    "g": 161,
    "b": 72
  },
  "hsl": {
    "h": 50.377,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.70588,
    "c": 0.11135,
    "h": 98.6
  },
  "luminance": 0.35423
}

Semantic roles & 50–950 ramp

primary
#B2A148
secondary
#929AC4
accent
#6AD256
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2A148

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

Preview Lab → · Contrast checker → · Palette generator →

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