#B2A73D#B2A73D

#B2A73D is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.8% C 0.126 H 103.4°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#B2A73D
RGBrgb(178, 167, 61)
HSLhsl(54, 49%, 47%)
HSVhsv(54, 66%, 70%)
CMYKcmyk(0%, 6.2%, 65.7%, 30.2%)
CIE-LABlab(67.61, -8.87, 54.21)
CIE-LCHlch(67.61, 54.93, 99.29°)
OKLaboklab(71.77% -0.0291 0.1225)
OKLCHoklch(71.77% 0.126 103.4)
XYZxyz(33.0224, 37.4406, 9.9013)
Luminance0.3744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A73D #3D48B2
analogous
#B26D3D #B2A73D #83B23D
triadic
#B2A73D #3DB2A7 #A73DB2
tetradic
#B2A73D #3DB26D #3D48B2 #B23D83
square
#B2A73D #3DB26D #3D48B2 #B23D83
split-complementary
#B2A73D #3D83B2 #6D3DB2
monochromatic
#57511E #847C2D #B2A73D #C9C063 #D9D290

Accessibility & contrast

On white

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

On black

8.49
#B2A73D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A73D
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A73D#FFFFFF#000000##000000
##B2A73D1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A22F
Deuteranopia (green-blind)
#B9A743
Tritanopia (blue-blind)
#BF9C91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b2a73d;
/* rgb */ color: rgb(178, 167, 61);
/* oklch */ color: oklch(71.8% 0.126 103.4);
Tailwind
colors: {
  custom: {
    50: '#ccc078',
    500: '#b2a73d',
    950: '#000000',
  },
}
SCSS
$custom: #b2a73d;
$custom-light: #ccc078;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a73d",
  "rgb": {
    "r": 178,
    "g": 167,
    "b": 61
  },
  "hsl": {
    "h": 54.359,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.7177,
    "c": 0.12594,
    "h": 103.4
  },
  "luminance": 0.37439
}

Semantic roles & 50–950 ramp

primary
#B2A73D
secondary
#878CC4
accent
#5CD94F
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B2A73D

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

Preview Lab → · Contrast checker → · Palette generator →

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