#B3A73A#B3A73A

#B3A73A is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.8% C 0.128 H 103.0°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#B3A73A
RGBrgb(179, 167, 58)
HSLhsl(54, 51%, 46%)
HSVhsv(54, 68%, 70%)
CMYKcmyk(0%, 6.7%, 67.6%, 29.8%)
CIE-LABlab(67.67, -8.61, 55.56)
CIE-LCHlch(67.67, 56.22, 98.81°)
OKLaboklab(71.84% -0.0288 0.1249)
OKLCHoklch(71.84% 0.128 103)
XYZxyz(33.1742, 37.5280, 9.4983)
Luminance0.3753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A73A #3A46B3
analogous
#B36B3A #B3A73A #83B33A
triadic
#B3A73A #3AB3A7 #A73AB3
tetradic
#B3A73A #3AB36B #3A46B3 #B33A83
square
#B3A73A #3AB36B #3A46B3 #B33A83
split-complementary
#B3A73A #3A83B3 #6B3AB3
monochromatic
#57511C #857C2B #B3A73A #CBC05F #DAD38D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3A73A#FFFFFF#000000##000000
##B3A73A1.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)
#B6A22B
Deuteranopia (green-blind)
#BAA741
Tritanopia (blue-blind)
#C09C91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b3a73a;
/* rgb */ color: rgb(179, 167, 58);
/* oklch */ color: oklch(71.8% 0.128 103.0);
Tailwind
colors: {
  custom: {
    50: '#cdc076',
    500: '#b3a73a',
    950: '#000000',
  },
}
SCSS
$custom: #b3a73a;
$custom-light: #cdc076;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a73a",
  "rgb": {
    "r": 179,
    "g": 167,
    "b": 58
  },
  "hsl": {
    "h": 54.05,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71835,
    "c": 0.12813,
    "h": 103
  },
  "luminance": 0.37527
}

Semantic roles & 50–950 ramp

primary
#B3A73A
secondary
#848AC5
accent
#5BDB4D
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B3A73A

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

Preview Lab → · Contrast checker → · Palette generator →

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