#B2A836#B2A836

#B2A836 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 71.9% C 0.132 H 104.3°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#B2A836
RGBrgb(178, 168, 54)
HSLhsl(55, 53%, 45%)
HSVhsv(55, 70%, 70%)
CMYKcmyk(0%, 5.6%, 69.7%, 30.2%)
CIE-LABlab(67.83, -9.80, 57.30)
CIE-LCHlch(67.83, 58.13, 99.70°)
OKLaboklab(71.93% -0.0325 0.1279)
OKLCHoklch(71.93% 0.132 104.3)
XYZxyz(33.0299, 37.7379, 9.0336)
Luminance0.3774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A836 #3640B2
analogous
#B26A36 #B2A836 #7EB236
triadic
#B2A836 #36B2A8 #A836B2
tetradic
#B2A836 #36B26A #3640B2 #B2367E
square
#B2A836 #36B26A #3640B2 #B2367E
split-complementary
#B2A836 #367EB2 #6A36B2
monochromatic
#544F1A #837C28 #B2A836 #CDC359 #DBD488

Accessibility & contrast

On white

2.46
#B2A836 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#B2A836 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A836
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A836#FFFFFF#000000##000000
##B2A8361.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A225
Deuteranopia (green-blind)
#BAA83D
Tritanopia (blue-blind)
#BF9D91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b2a836;
/* rgb */ color: rgb(178, 168, 54);
/* oklch */ color: oklch(71.9% 0.132 104.3);
Tailwind
colors: {
  custom: {
    50: '#ccc174',
    500: '#b2a836',
    950: '#000000',
  },
}
SCSS
$custom: #b2a836;
$custom-light: #ccc174;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a836",
  "rgb": {
    "r": 178,
    "g": 168,
    "b": 54
  },
  "hsl": {
    "h": 55.161,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.71929,
    "c": 0.13194,
    "h": 104.3
  },
  "luminance": 0.37737
}

Semantic roles & 50–950 ramp

primary
#B2A836
secondary
#7F85C5
accent
#57DD4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B2A836

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

Preview Lab → · Contrast checker → · Palette generator →

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