#B2A134#B2A134

#B2A134 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.4% C 0.127 H 100.2°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#B2A134
RGBrgb(178, 161, 52)
HSLhsl(52, 55%, 45%)
HSVhsv(52, 71%, 70%)
CMYKcmyk(0%, 9.6%, 70.8%, 30.2%)
CIE-LABlab(65.91, -6.21, 56.17)
CIE-LCHlch(65.91, 56.52, 96.31°)
OKLaboklab(70.4% -0.0226 0.1251)
OKLCHoklch(70.4% 0.127 100.2)
XYZxyz(31.7262, 35.2041, 8.3721)
Luminance0.3520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A134 #3445B2
analogous
#B26234 #B2A134 #84B234
triadic
#B2A134 #34B2A1 #A134B2
tetradic
#B2A134 #34B262 #3445B2 #B23484
square
#B2A134 #34B262 #3445B2 #B23484
split-complementary
#B2A134 #3484B2 #6234B2
monochromatic
#534B18 #837626 #B2A134 #CEBD56 #DBD085

Accessibility & contrast

On white

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

On black

8.04
#B2A134 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A134
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A134#FFFFFF#000000##000000
##B2A1341.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C24
Deuteranopia (green-blind)
#B5A33B
Tritanopia (blue-blind)
#C0958B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b2a134;
/* rgb */ color: rgb(178, 161, 52);
/* oklch */ color: oklch(70.4% 0.127 100.2);
Tailwind
colors: {
  custom: {
    50: '#ccbc72',
    500: '#b2a134',
    950: '#000000',
  },
}
SCSS
$custom: #b2a134;
$custom-light: #ccbc72;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a134",
  "rgb": {
    "r": 178,
    "g": 161,
    "b": 52
  },
  "hsl": {
    "h": 51.905,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70399,
    "c": 0.12715,
    "h": 100.2
  },
  "luminance": 0.35203
}

Semantic roles & 50–950 ramp

primary
#B2A134
secondary
#7D87C5
accent
#5EDE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B2A134

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

Preview Lab → · Contrast checker → · Palette generator →

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