#B3A02A#B3A02A

#B3A02A is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.2% C 0.133 H 99.7°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#B3A02A
RGBrgb(179, 160, 42)
HSLhsl(52, 62%, 43%)
HSVhsv(52, 77%, 70%)
CMYKcmyk(0%, 10.6%, 76.5%, 29.8%)
CIE-LABlab(65.67, -5.70, 59.70)
CIE-LCHlch(65.67, 59.97, 95.45°)
OKLaboklab(70.21% -0.0222 0.1307)
OKLCHoklch(70.21% 0.133 99.7)
XYZxyz(31.5807, 34.8940, 7.2618)
Luminance0.3489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A02A #2A3DB3
analogous
#B35B2A #B3A02A #81B32A
triadic
#B3A02A #2AB3A0 #A02AB3
tetradic
#B3A02A #2AB35B #2A3DB3 #B32A81
square
#B3A02A #2AB35B #2A3DB3 #B32A81
split-complementary
#B3A02A #2A81B3 #5B2AB3
monochromatic
#504713 #81741E #B3A02A #D4C046 #DFD178

Accessibility & contrast

On white

2.63
#B3A02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#B3A02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A02A
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A02A#FFFFFF#000000##000000
##B3A02A1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C11
Deuteranopia (green-blind)
#B5A232
Tritanopia (blue-blind)
#C1948A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b3a02a;
/* rgb */ color: rgb(179, 160, 42);
/* oklch */ color: oklch(70.2% 0.133 99.7);
Tailwind
colors: {
  custom: {
    50: '#cebb6d',
    500: '#b3a02a',
    950: '#000000',
  },
}
SCSS
$custom: #b3a02a;
$custom-light: #cebb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a02a",
  "rgb": {
    "r": 179,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 51.679,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.7021,
    "c": 0.13254,
    "h": 99.7
  },
  "luminance": 0.34892
}

Semantic roles & 50–950 ramp

primary
#B3A02A
secondary
#727DC7
accent
#59E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B3A02A

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

Preview Lab → · Contrast checker → · Palette generator →

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