#B2A748#B2A748

#B2A748 is a light, moderate yellow. Relative luminance 0.376; OKLCH L 71.9% C 0.117 H 102.7°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#B2A748
RGBrgb(178, 167, 72)
HSLhsl(54, 42%, 49%)
HSVhsv(54, 60%, 70%)
CMYKcmyk(0%, 6.2%, 59.6%, 30.2%)
CIE-LABlab(67.70, -8.13, 49.44)
CIE-LCHlch(67.70, 50.10, 99.34°)
OKLaboklab(71.88% -0.0258 0.114)
OKLCHoklch(71.88% 0.117 102.7)
XYZxyz(33.3497, 37.5715, 11.6250)
Luminance0.3757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A748 #4853B2
analogous
#B27248 #B2A748 #88B248
triadic
#B2A748 #48B2A7 #A748B2
tetradic
#B2A748 #48B272 #4853B2 #B24888
square
#B2A748 #48B272 #4853B2 #B24888
split-complementary
#B2A748 #4888B2 #7248B2
monochromatic
#5B5525 #867E36 #B2A748 #C6BD71 #D7D19D

Accessibility & contrast

On white

2.47
#B2A748 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#B2A748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A748
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A748#FFFFFF#000000##000000
##B2A7481.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A23E
Deuteranopia (green-blind)
#B8A74D
Tritanopia (blue-blind)
#BE9C92
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b2a748;
/* rgb */ color: rgb(178, 167, 72);
/* oklch */ color: oklch(71.9% 0.117 102.7);
Tailwind
colors: {
  custom: {
    50: '#ccc07f',
    500: '#b2a748',
    950: '#000000',
  },
}
SCSS
$custom: #b2a748;
$custom-light: #ccc07f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a748",
  "rgb": {
    "r": 178,
    "g": 167,
    "b": 72
  },
  "hsl": {
    "h": 53.774,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.71879,
    "c": 0.11687,
    "h": 102.7
  },
  "luminance": 0.3757
}

Semantic roles & 50–950 ramp

primary
#B2A748
secondary
#9297C4
accent
#63D256
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2A748

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

Preview Lab → · Contrast checker → · Palette generator →

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