#B2A348#B2A348

#B2A348 is a light, moderate yellow. Relative luminance 0.361; OKLCH L 71.0% C 0.113 H 100.0°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#B2A348
RGBrgb(178, 163, 72)
HSLhsl(52, 42%, 49%)
HSVhsv(52, 60%, 70%)
CMYKcmyk(0%, 8.4%, 59.6%, 30.2%)
CIE-LABlab(66.62, -6.02, 48.22)
CIE-LCHlch(66.62, 48.60, 97.11°)
OKLaboklab(71.02% -0.0197 0.1114)
OKLCHoklch(71.02% 0.113 100)
XYZxyz(32.6282, 36.1286, 11.3845)
Luminance0.3613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A348 #4857B2
analogous
#B26E48 #B2A348 #8CB248
triadic
#B2A348 #48B2A3 #A348B2
tetradic
#B2A348 #48B26E #4857B2 #B2488C
square
#B2A348 #48B26E #4857B2 #B2488C
split-complementary
#B2A348 #488CB2 #6E48B2
monochromatic
#5B5325 #867B36 #B2A348 #C6BA71 #D7CF9D

Accessibility & contrast

On white

2.55
#B2A348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#B2A348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A348
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A348#FFFFFF#000000##000000
##B2A3481.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F3E
Deuteranopia (green-blind)
#B5A54D
Tritanopia (blue-blind)
#BF988F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b2a348;
/* rgb */ color: rgb(178, 163, 72);
/* oklch */ color: oklch(71.0% 0.113 100.0);
Tailwind
colors: {
  custom: {
    50: '#ccbe7e',
    500: '#b2a348',
    950: '#000000',
  },
}
SCSS
$custom: #b2a348;
$custom-light: #ccbe7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a348",
  "rgb": {
    "r": 178,
    "g": 163,
    "b": 72
  },
  "hsl": {
    "h": 51.509,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.71017,
    "c": 0.11312,
    "h": 100
  },
  "luminance": 0.36127
}

Semantic roles & 50–950 ramp

primary
#B2A348
secondary
#9299C4
accent
#67D256
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2A348

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

Preview Lab → · Contrast checker → · Palette generator →

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