#B1A73D#B1A73D

#B1A73D is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.7% C 0.126 H 103.9°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#B1A73D
RGBrgb(177, 167, 61)
HSLhsl(55, 49%, 47%)
HSVhsv(55, 66%, 69%)
CMYKcmyk(0%, 5.6%, 65.5%, 30.6%)
CIE-LABlab(67.52, -9.31, 54.09)
CIE-LCHlch(67.52, 54.89, 99.76°)
OKLaboklab(71.68% -0.0303 0.1223)
OKLCHoklch(71.68% 0.126 103.9)
XYZxyz(32.7937, 37.3227, 9.8906)
Luminance0.3732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A73D #3D47B1
analogous
#B16D3D #B1A73D #81B13D
triadic
#B1A73D #3DB1A7 #A73DB1
tetradic
#B1A73D #3DB16D #3D47B1 #B13D81
square
#B1A73D #3DB16D #3D47B1 #B13D81
split-complementary
#B1A73D #3D81B1 #6D3DB1
monochromatic
#56511E #837C2D #B1A73D #C9C062 #D9D290

Accessibility & contrast

On white

2.48
#B1A73D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#B1A73D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A73D
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A73D#FFFFFF#000000##000000
##B1A73D1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A12F
Deuteranopia (green-blind)
#B9A743
Tritanopia (blue-blind)
#BE9C91
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b1a73d;
/* rgb */ color: rgb(177, 167, 61);
/* oklch */ color: oklch(71.7% 0.126 103.9);
Tailwind
colors: {
  custom: {
    50: '#cbc078',
    500: '#b1a73d',
    950: '#000000',
  },
}
SCSS
$custom: #b1a73d;
$custom-light: #cbc078;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a73d",
  "rgb": {
    "r": 177,
    "g": 167,
    "b": 61
  },
  "hsl": {
    "h": 54.828,
    "s": 48.739,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71679,
    "c": 0.126,
    "h": 103.9
  },
  "luminance": 0.37321
}

Semantic roles & 50–950 ramp

primary
#B1A73D
secondary
#868BC4
accent
#5BD850
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B1A73D

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

Preview Lab → · Contrast checker → · Palette generator →

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