#B3AA2B#B3AA2B

#B3AA2B is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.4% C 0.140 H 105.2°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#B3AA2B
RGBrgb(179, 170, 43)
HSLhsl(56, 61%, 44%)
HSVhsv(56, 76%, 70%)
CMYKcmyk(0%, 5%, 76%, 29.8%)
CIE-LABlab(68.39, -10.92, 61.88)
CIE-LCHlch(68.39, 62.84, 100.01°)
OKLaboklab(72.38% -0.0368 0.1355)
OKLCHoklch(72.38% 0.14 105.2)
XYZxyz(33.4026, 38.5089, 7.9585)
Luminance0.3851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AA2B #2B34B3
analogous
#B3662B #B3AA2B #78B32B
triadic
#B3AA2B #2BB3AA #AA2BB3
tetradic
#B3AA2B #2BB366 #2B34B3 #B32B78
square
#B3AA2B #2BB366 #2B34B3 #B32B78
split-complementary
#B3AA2B #2B78B3 #662BB3
monochromatic
#504C13 #827B1F #B3AA2B #D3CA48 #DFD879

Accessibility & contrast

On white

2.41
#B3AA2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#B3AA2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AA2B
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AA2B#FFFFFF#000000##000000
##B3AA2B1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A40E
Deuteranopia (green-blind)
#BDA935
Tritanopia (blue-blind)
#C19E92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b3aa2b;
/* rgb */ color: rgb(179, 170, 43);
/* oklch */ color: oklch(72.4% 0.140 105.2);
Tailwind
colors: {
  custom: {
    50: '#cec36f',
    500: '#b3aa2b',
    950: '#000000',
  },
}
SCSS
$custom: #b3aa2b;
$custom-light: #cec36f;
$custom-dark: #000000;
JSON
{
  "hex": "#b3aa2b",
  "rgb": {
    "r": 179,
    "g": 170,
    "b": 43
  },
  "hsl": {
    "h": 56.029,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.7238,
    "c": 0.14043,
    "h": 105.2
  },
  "luminance": 0.38508
}

Semantic roles & 50–950 ramp

primary
#B3AA2B
secondary
#7378C7
accent
#4EE443
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3AA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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