#B3A336#B3A336

#B3A336 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.9% C 0.127 H 100.8°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#B3A336
RGBrgb(179, 163, 54)
HSLhsl(52, 54%, 46%)
HSVhsv(52, 70%, 70%)
CMYKcmyk(0%, 8.9%, 69.8%, 29.8%)
CIE-LABlab(66.56, -6.72, 56.05)
CIE-LCHlch(66.56, 56.46, 96.84°)
OKLaboklab(70.94% -0.0239 0.1252)
OKLCHoklch(70.94% 0.127 100.8)
XYZxyz(32.3549, 36.0459, 8.7426)
Luminance0.3604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A336 #3646B3
analogous
#B36436 #B3A336 #84B336
triadic
#B3A336 #36B3A3 #A336B3
tetradic
#B3A336 #36B364 #3646B3 #B33684
square
#B3A336 #36B364 #3646B3 #B33684
split-complementary
#B3A336 #3684B3 #6436B3
monochromatic
#554D1A #847828 #B3A336 #CDBE59 #DBD188

Accessibility & contrast

On white

2.56
#B3A336 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#B3A336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A336
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A336#FFFFFF#000000##000000
##B3A3361.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E26
Deuteranopia (green-blind)
#B7A53D
Tritanopia (blue-blind)
#C1978D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b3a336;
/* rgb */ color: rgb(179, 163, 54);
/* oklch */ color: oklch(70.9% 0.127 100.8);
Tailwind
colors: {
  custom: {
    50: '#cdbd74',
    500: '#b3a336',
    950: '#000000',
  },
}
SCSS
$custom: #b3a336;
$custom-light: #cdbd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a336",
  "rgb": {
    "r": 179,
    "g": 163,
    "b": 54
  },
  "hsl": {
    "h": 52.32,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70939,
    "c": 0.12746,
    "h": 100.8
  },
  "luminance": 0.36044
}

Semantic roles & 50–950 ramp

primary
#B3A336
secondary
#8089C5
accent
#5DDD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A336

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

Preview Lab → · Contrast checker → · Palette generator →

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