#B2A436#B2A436

#B2A436 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 71.1% C 0.128 H 101.9°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#B2A436
RGBrgb(178, 164, 54)
HSLhsl(53, 53%, 45%)
HSVhsv(53, 70%, 70%)
CMYKcmyk(0%, 7.9%, 69.7%, 30.2%)
CIE-LABlab(66.74, -7.69, 56.21)
CIE-LCHlch(66.74, 56.73, 97.79°)
OKLaboklab(71.06% -0.0266 0.1256)
OKLCHoklch(71.06% 0.128 101.9)
XYZxyz(32.3028, 36.2836, 8.7912)
Luminance0.3628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A436 #3644B2
analogous
#B26636 #B2A436 #82B236
triadic
#B2A436 #36B2A4 #A436B2
tetradic
#B2A436 #36B266 #3644B2 #B23682
square
#B2A436 #36B266 #3644B2 #B23682
split-complementary
#B2A436 #3682B2 #6636B2
monochromatic
#544D1A #837928 #B2A436 #CDBF59 #DBD188

Accessibility & contrast

On white

2.54
#B2A436 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#B2A436 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A436
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A436#FFFFFF#000000##000000
##B2A4361.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F26
Deuteranopia (green-blind)
#B7A53D
Tritanopia (blue-blind)
#BF988E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b2a436;
/* rgb */ color: rgb(178, 164, 54);
/* oklch */ color: oklch(71.1% 0.128 101.9);
Tailwind
colors: {
  custom: {
    50: '#ccbe74',
    500: '#b2a436',
    950: '#000000',
  },
}
SCSS
$custom: #b2a436;
$custom-light: #ccbe74;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a436",
  "rgb": {
    "r": 178,
    "g": 164,
    "b": 54
  },
  "hsl": {
    "h": 53.226,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.71061,
    "c": 0.12834,
    "h": 101.9
  },
  "luminance": 0.36282
}

Semantic roles & 50–950 ramp

primary
#B2A436
secondary
#7F87C5
accent
#5BDD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A436

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

Preview Lab → · Contrast checker → · Palette generator →

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