#B3A533#B3A533

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

Color values

HEX#B3A533
RGBrgb(179, 165, 51)
HSLhsl(53, 56%, 45%)
HSVhsv(53, 72%, 70%)
CMYKcmyk(0%, 7.8%, 71.5%, 29.8%)
CIE-LABlab(67.08, -7.94, 57.75)
CIE-LCHlch(67.08, 58.30, 97.82°)
OKLaboklab(71.35% -0.0276 0.1283)
OKLCHoklch(71.35% 0.131 102.2)
XYZxyz(32.6445, 36.7344, 8.5022)
Luminance0.3673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A533 #3341B3
analogous
#B36533 #B3A533 #81B333
triadic
#B3A533 #33B3A5 #A533B3
tetradic
#B3A533 #33B365 #3341B3 #B33381
square
#B3A533 #33B365 #3341B3 #B33381
split-complementary
#B3A533 #3381B3 #6533B3
monochromatic
#544D18 #837925 #B3A533 #CEC155 #DCD284

Accessibility & contrast

On white

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

On black

8.35
#B3A533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A533
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A533#FFFFFF#000000##000000
##B3A5331.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3a533;
/* rgb */ color: rgb(179, 165, 51);
/* oklch */ color: oklch(71.3% 0.131 102.2);
Tailwind
colors: {
  custom: {
    50: '#cdbf72',
    500: '#b3a533',
    950: '#000000',
  },
}
SCSS
$custom: #b3a533;
$custom-light: #cdbf72;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a533",
  "rgb": {
    "r": 179,
    "g": 165,
    "b": 51
  },
  "hsl": {
    "h": 53.438,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.71347,
    "c": 0.13119,
    "h": 102.2
  },
  "luminance": 0.36733
}

Semantic roles & 50–950 ramp

primary
#B3A533
secondary
#7C84C6
accent
#59DF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A533

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

Preview Lab → · Contrast checker → · Palette generator →

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