#B3AA2A#B3AA2A

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

Color values

HEX#B3AA2A
RGBrgb(179, 170, 42)
HSLhsl(56, 62%, 43%)
HSVhsv(56, 77%, 70%)
CMYKcmyk(0%, 5%, 76.5%, 29.8%)
CIE-LABlab(68.39, -10.96, 62.21)
CIE-LCHlch(68.39, 63.17, 99.99°)
OKLaboklab(72.37% -0.037 0.136)
OKLCHoklch(72.37% 0.141 105.2)
XYZxyz(33.3845, 38.5016, 7.8631)
Luminance0.3850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AA2A #2A33B3
analogous
#B3652A #B3AA2A #77B32A
triadic
#B3AA2A #2AB3AA #AA2AB3
tetradic
#B3AA2A #2AB365 #2A33B3 #B32A77
square
#B3AA2A #2AB365 #2A33B3 #B32A77
split-complementary
#B3AA2A #2A77B3 #652AB3
monochromatic
#504C13 #817B1E #B3AA2A #D4CA46 #DFD978

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3AA2A#FFFFFF#000000##000000
##B3AA2A1.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)
#B9A40B
Deuteranopia (green-blind)
#BDA934
Tritanopia (blue-blind)
#C19E92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b3aa2a;
/* rgb */ color: rgb(179, 170, 42);
/* oklch */ color: oklch(72.4% 0.141 105.2);
Tailwind
colors: {
  custom: {
    50: '#cec26e',
    500: '#b3aa2a',
    950: '#000000',
  },
}
SCSS
$custom: #b3aa2a;
$custom-light: #cec26e;
$custom-dark: #000000;
JSON
{
  "hex": "#b3aa2a",
  "rgb": {
    "r": 179,
    "g": 170,
    "b": 42
  },
  "hsl": {
    "h": 56.058,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72374,
    "c": 0.14098,
    "h": 105.2
  },
  "luminance": 0.385
}

Semantic roles & 50–950 ramp

primary
#B3AA2A
secondary
#7277C7
accent
#4DE543
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3AA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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