#B3A82A#B3A82A

#B3A82A is a light, vivid yellow. Relative luminance 0.378; OKLCH L 71.9% C 0.139 H 104.2°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#B3A82A
RGBrgb(179, 168, 42)
HSLhsl(55, 62%, 43%)
HSVhsv(55, 77%, 70%)
CMYKcmyk(0%, 6.1%, 76.5%, 29.8%)
CIE-LABlab(67.84, -9.92, 61.71)
CIE-LCHlch(67.84, 62.50, 99.13°)
OKLaboklab(71.94% -0.0341 0.1349)
OKLCHoklch(71.94% 0.139 104.2)
XYZxyz(33.0124, 37.7575, 7.7390)
Luminance0.3776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A82A #2A35B3
analogous
#B3632A #B3A82A #7AB32A
triadic
#B3A82A #2AB3A8 #A82AB3
tetradic
#B3A82A #2AB363 #2A35B3 #B32A7A
square
#B3A82A #2AB363 #2A35B3 #B32A7A
split-complementary
#B3A82A #2A7AB3 #632AB3
monochromatic
#504B13 #81791E #B3A82A #D4C846 #DFD778

Accessibility & contrast

On white

2.46
#B3A82A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#B3A82A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A82A
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A82A#FFFFFF#000000##000000
##B3A82A1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A20C
Deuteranopia (green-blind)
#BBA834
Tritanopia (blue-blind)
#C19C90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b3a82a;
/* rgb */ color: rgb(179, 168, 42);
/* oklch */ color: oklch(71.9% 0.139 104.2);
Tailwind
colors: {
  custom: {
    50: '#cec16e',
    500: '#b3a82a',
    950: '#000000',
  },
}
SCSS
$custom: #b3a82a;
$custom-light: #cec16e;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a82a",
  "rgb": {
    "r": 179,
    "g": 168,
    "b": 42
  },
  "hsl": {
    "h": 55.182,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71938,
    "c": 0.1392,
    "h": 104.2
  },
  "luminance": 0.37756
}

Semantic roles & 50–950 ramp

primary
#B3A82A
secondary
#7278C7
accent
#50E543
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A82A

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

Preview Lab → · Contrast checker → · Palette generator →

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