#B2A733#B2A733

#B2A733 is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.7% C 0.133 H 103.8°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#B2A733
RGBrgb(178, 167, 51)
HSLhsl(55, 55%, 45%)
HSVhsv(55, 71%, 70%)
CMYKcmyk(0%, 6.2%, 71.3%, 30.2%)
CIE-LABlab(67.53, -9.43, 58.17)
CIE-LCHlch(67.53, 58.93, 99.21°)
OKLaboklab(71.69% -0.0318 0.1292)
OKLCHoklch(71.69% 0.133 103.8)
XYZxyz(32.7777, 37.3427, 8.6126)
Luminance0.3734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A733 #333EB2
analogous
#B26733 #B2A733 #7EB233
triadic
#B2A733 #33B2A7 #A733B2
tetradic
#B2A733 #33B267 #333EB2 #B2337E
square
#B2A733 #33B267 #333EB2 #B2337E
split-complementary
#B2A733 #337EB2 #6733B2
monochromatic
#534E18 #827A25 #B2A733 #CEC354 #DCD484

Accessibility & contrast

On white

2.48
#B2A733 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#B2A733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A733
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A733#FFFFFF#000000##000000
##B2A7331.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A120
Deuteranopia (green-blind)
#BAA73B
Tritanopia (blue-blind)
#BF9B90
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a733;
/* rgb */ color: rgb(178, 167, 51);
/* oklch */ color: oklch(71.7% 0.133 103.8);
Tailwind
colors: {
  custom: {
    50: '#ccc072',
    500: '#b2a733',
    950: '#000000',
  },
}
SCSS
$custom: #b2a733;
$custom-light: #ccc072;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a733",
  "rgb": {
    "r": 178,
    "g": 167,
    "b": 51
  },
  "hsl": {
    "h": 54.803,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.71689,
    "c": 0.13303,
    "h": 103.8
  },
  "luminance": 0.37341
}

Semantic roles & 50–950 ramp

primary
#B2A733
secondary
#7C82C5
accent
#56DF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A733

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

Preview Lab → · Contrast checker → · Palette generator →

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