#B3A52A#B3A52A

#B3A52A is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.3% C 0.137 H 102.6°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#B3A52A
RGBrgb(179, 165, 42)
HSLhsl(54, 62%, 43%)
HSVhsv(54, 77%, 70%)
CMYKcmyk(0%, 7.8%, 76.5%, 29.8%)
CIE-LABlab(67.02, -8.35, 60.95)
CIE-LCHlch(67.02, 61.52, 97.80°)
OKLaboklab(71.29% -0.0297 0.1333)
OKLCHoklch(71.29% 0.137 102.6)
XYZxyz(32.4650, 36.6626, 7.5566)
Luminance0.3666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A52A #2A38B3
analogous
#B3612A #B3A52A #7CB32A
triadic
#B3A52A #2AB3A5 #A52AB3
tetradic
#B3A52A #2AB361 #2A38B3 #B32A7C
square
#B3A52A #2AB361 #2A38B3 #B32A7C
split-complementary
#B3A52A #2A7CB3 #612AB3
monochromatic
#504A13 #81771E #B3A52A #D4C546 #DFD578

Accessibility & contrast

On white

2.52
#B3A52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#B3A52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A52A
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A52A#FFFFFF#000000##000000
##B3A52A1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A00E
Deuteranopia (green-blind)
#B9A633
Tritanopia (blue-blind)
#C1998E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b3a52a;
/* rgb */ color: rgb(179, 165, 42);
/* oklch */ color: oklch(71.3% 0.137 102.6);
Tailwind
colors: {
  custom: {
    50: '#cebf6e',
    500: '#b3a52a',
    950: '#000000',
  },
}
SCSS
$custom: #b3a52a;
$custom-light: #cebf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a52a",
  "rgb": {
    "r": 179,
    "g": 165,
    "b": 42
  },
  "hsl": {
    "h": 53.869,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71287,
    "c": 0.13661,
    "h": 102.6
  },
  "luminance": 0.36661
}

Semantic roles & 50–950 ramp

primary
#B3A52A
secondary
#727AC7
accent
#53E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A52A

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

Preview Lab → · Contrast checker → · Palette generator →

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