#B3A134#B3A134

#B3A134 is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.5% C 0.127 H 99.7°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#B3A134
RGBrgb(179, 161, 52)
HSLhsl(51, 55%, 45%)
HSVhsv(51, 71%, 70%)
CMYKcmyk(0%, 10.1%, 70.9%, 29.8%)
CIE-LABlab(66.00, -5.77, 56.30)
CIE-LCHlch(66.00, 56.59, 95.85°)
OKLaboklab(70.49% -0.0214 0.1254)
OKLCHoklch(70.49% 0.127 99.7)
XYZxyz(31.9566, 35.3229, 8.3829)
Luminance0.3532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A134 #3446B3
analogous
#B36134 #B3A134 #85B334
triadic
#B3A134 #34B3A1 #A134B3
tetradic
#B3A134 #34B361 #3446B3 #B33485
square
#B3A134 #34B361 #3446B3 #B33485
split-complementary
#B3A134 #3485B3 #6134B3
monochromatic
#544C18 #847626 #B3A134 #CEBD56 #DCD086

Accessibility & contrast

On white

2.60
#B3A134 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#B3A134 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A134
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A134#FFFFFF#000000##000000
##B3A1341.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D24
Deuteranopia (green-blind)
#B5A33B
Tritanopia (blue-blind)
#C1958B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b3a134;
/* rgb */ color: rgb(179, 161, 52);
/* oklch */ color: oklch(70.5% 0.127 99.7);
Tailwind
colors: {
  custom: {
    50: '#cdbc72',
    500: '#b3a134',
    950: '#000000',
  },
}
SCSS
$custom: #b3a134;
$custom-light: #cdbc72;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a134",
  "rgb": {
    "r": 179,
    "g": 161,
    "b": 52
  },
  "hsl": {
    "h": 51.496,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70494,
    "c": 0.12716,
    "h": 99.7
  },
  "luminance": 0.35321
}

Semantic roles & 50–950 ramp

primary
#B3A134
secondary
#7D88C5
accent
#5FDE49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B3A134

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

Preview Lab → · Contrast checker → · Palette generator →

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