#B2A936#B2A936

#B2A936 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 72.1% C 0.133 H 104.8°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#B2A936
RGBrgb(178, 169, 54)
HSLhsl(56, 53%, 45%)
HSVhsv(56, 70%, 70%)
CMYKcmyk(0%, 5.1%, 69.7%, 30.2%)
CIE-LABlab(68.10, -10.32, 57.57)
CIE-LCHlch(68.10, 58.49, 100.16°)
OKLaboklab(72.15% -0.034 0.1284)
OKLCHoklch(72.15% 0.133 104.8)
XYZxyz(33.2153, 38.1085, 9.0954)
Luminance0.3811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A936 #363FB2
analogous
#B26B36 #B2A936 #7DB236
triadic
#B2A936 #36B2A9 #A936B2
tetradic
#B2A936 #36B26B #363FB2 #B2367D
square
#B2A936 #36B26B #363FB2 #B2367D
split-complementary
#B2A936 #367DB2 #6B36B2
monochromatic
#54501A #837C28 #B2A936 #CDC459 #DBD588

Accessibility & contrast

On white

2.44
#B2A936 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#B2A936 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A936
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A936#FFFFFF#000000##000000
##B2A9361.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A324
Deuteranopia (green-blind)
#BBA83E
Tritanopia (blue-blind)
#BF9E92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b2a936;
/* rgb */ color: rgb(178, 169, 54);
/* oklch */ color: oklch(72.1% 0.133 104.8);
Tailwind
colors: {
  custom: {
    50: '#ccc274',
    500: '#b2a936',
    950: '#000000',
  },
}
SCSS
$custom: #b2a936;
$custom-light: #ccc274;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a936",
  "rgb": {
    "r": 178,
    "g": 169,
    "b": 54
  },
  "hsl": {
    "h": 55.645,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72146,
    "c": 0.13286,
    "h": 104.8
  },
  "luminance": 0.38107
}

Semantic roles & 50–950 ramp

primary
#B2A936
secondary
#7F84C5
accent
#56DD4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B2A936

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

Preview Lab → · Contrast checker → · Palette generator →

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