#B3A232#B3A232

#B3A232 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.7% C 0.129 H 100.4°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#B3A232
RGBrgb(179, 162, 50)
HSLhsl(52, 56%, 45%)
HSVhsv(52, 72%, 70%)
CMYKcmyk(0%, 9.5%, 72.1%, 29.8%)
CIE-LABlab(66.26, -6.40, 57.33)
CIE-LCHlch(66.26, 57.69, 96.37°)
OKLaboklab(70.69% -0.0234 0.1272)
OKLCHoklch(70.69% 0.129 100.4)
XYZxyz(32.0879, 35.6561, 8.2091)
Luminance0.3565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A232 #3243B3
analogous
#B36132 #B3A232 #84B332
triadic
#B3A232 #32B3A2 #A232B3
tetradic
#B3A232 #32B361 #3243B3 #B33284
square
#B3A232 #32B361 #3243B3 #B33284
split-complementary
#B3A232 #3284B3 #6132B3
monochromatic
#534B17 #837725 #B3A232 #CFBF53 #DCD183

Accessibility & contrast

On white

2.58
#B3A232 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#B3A232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A232
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A232#FFFFFF#000000##000000
##B3A2321.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D20
Deuteranopia (green-blind)
#B6A439
Tritanopia (blue-blind)
#C1968C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b3a232;
/* rgb */ color: rgb(179, 162, 50);
/* oklch */ color: oklch(70.7% 0.129 100.4);
Tailwind
colors: {
  custom: {
    50: '#cdbd71',
    500: '#b3a232',
    950: '#000000',
  },
}
SCSS
$custom: #b3a232;
$custom-light: #cdbd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a232",
  "rgb": {
    "r": 179,
    "g": 162,
    "b": 50
  },
  "hsl": {
    "h": 52.093,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.70693,
    "c": 0.1293,
    "h": 100.4
  },
  "luminance": 0.35655
}

Semantic roles & 50–950 ramp

primary
#B3A232
secondary
#7B85C6
accent
#5CE048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A232

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

Preview Lab → · Contrast checker → · Palette generator →

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