#B2A13A#B2A13A

#B2A13A is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.4% C 0.123 H 99.8°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#B2A13A
RGBrgb(178, 161, 58)
HSLhsl(52, 51%, 46%)
HSVhsv(52, 67%, 70%)
CMYKcmyk(0%, 9.6%, 67.4%, 30.2%)
CIE-LABlab(65.95, -5.88, 53.76)
CIE-LCHlch(65.95, 54.08, 96.24°)
OKLaboklab(70.45% -0.021 0.1211)
OKLCHoklch(70.45% 0.123 99.8)
XYZxyz(31.8701, 35.2616, 9.1296)
Luminance0.3526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A13A #3A4BB2
analogous
#B2653A #B2A13A #87B23A
triadic
#B2A13A #3AB2A1 #A13AB2
tetradic
#B2A13A #3AB265 #3A4BB2 #B23A87
square
#B2A13A #3AB265 #3A4BB2 #B23A87
split-complementary
#B2A13A #3A87B2 #653AB2
monochromatic
#564D1C #84772B #B2A13A #CBBB5F #DACF8D

Accessibility & contrast

On white

2.61
#B2A13A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#B2A13A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A13A
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A13A#FFFFFF#000000##000000
##B2A13A1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D2C
Deuteranopia (green-blind)
#B5A340
Tritanopia (blue-blind)
#BF968C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b2a13a;
/* rgb */ color: rgb(178, 161, 58);
/* oklch */ color: oklch(70.4% 0.123 99.8);
Tailwind
colors: {
  custom: {
    50: '#ccbc76',
    500: '#b2a13a',
    950: '#000000',
  },
}
SCSS
$custom: #b2a13a;
$custom-light: #ccbc76;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a13a",
  "rgb": {
    "r": 178,
    "g": 161,
    "b": 58
  },
  "hsl": {
    "h": 51.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70449,
    "c": 0.12287,
    "h": 99.8
  },
  "luminance": 0.3526
}

Semantic roles & 50–950 ramp

primary
#B2A13A
secondary
#838DC4
accent
#61DA4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B2A13A

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

Preview Lab → · Contrast checker → · Palette generator →

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