#B2A533#B2A533

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

Color values

HEX#B2A533
RGBrgb(178, 165, 51)
HSLhsl(54, 55%, 45%)
HSVhsv(54, 71%, 70%)
CMYKcmyk(0%, 7.3%, 71.3%, 30.2%)
CIE-LABlab(66.99, -8.38, 57.63)
CIE-LCHlch(66.99, 58.24, 98.27°)
OKLaboklab(71.26% -0.0288 0.128)
OKLCHoklch(71.26% 0.131 102.7)
XYZxyz(32.4142, 36.6156, 8.4915)
Luminance0.3661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A533 #3340B2
analogous
#B26533 #B2A533 #80B233
triadic
#B2A533 #33B2A5 #A533B2
tetradic
#B2A533 #33B265 #3340B2 #B23380
square
#B2A533 #33B265 #3340B2 #B23380
split-complementary
#B2A533 #3380B2 #6533B2
monochromatic
#534D18 #827925 #B2A533 #CEC254 #DCD384

Accessibility & contrast

On white

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

On black

8.32
#B2A533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A533
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A533#FFFFFF#000000##000000
##B2A5331.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2a533;
/* rgb */ color: rgb(178, 165, 51);
/* oklch */ color: oklch(71.3% 0.131 102.7);
Tailwind
colors: {
  custom: {
    50: '#ccbf72',
    500: '#b2a533',
    950: '#000000',
  },
}
SCSS
$custom: #b2a533;
$custom-light: #ccbf72;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a533",
  "rgb": {
    "r": 178,
    "g": 165,
    "b": 51
  },
  "hsl": {
    "h": 53.858,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.71255,
    "c": 0.13125,
    "h": 102.7
  },
  "luminance": 0.36614
}

Semantic roles & 50–950 ramp

primary
#B2A533
secondary
#7C83C5
accent
#58DF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A533

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

Preview Lab → · Contrast checker → · Palette generator →

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