#B2A336#B2A336

#B2A336 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.8% C 0.127 H 101.3°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#B2A336
RGBrgb(178, 163, 54)
HSLhsl(53, 53%, 45%)
HSVhsv(53, 70%, 70%)
CMYKcmyk(0%, 8.4%, 69.7%, 30.2%)
CIE-LABlab(66.46, -7.16, 55.93)
CIE-LCHlch(66.46, 56.39, 97.30°)
OKLaboklab(70.85% -0.0251 0.125)
OKLCHoklch(70.85% 0.127 101.3)
XYZxyz(32.1245, 35.9271, 8.7318)
Luminance0.3593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A336 #3645B2
analogous
#B26536 #B2A336 #83B236
triadic
#B2A336 #36B2A3 #A336B2
tetradic
#B2A336 #36B265 #3645B2 #B23683
square
#B2A336 #36B265 #3645B2 #B23683
split-complementary
#B2A336 #3683B2 #6536B2
monochromatic
#544D1A #837828 #B2A336 #CDBF59 #DBD188

Accessibility & contrast

On white

2.57
#B2A336 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#B2A336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A336
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A336#FFFFFF#000000##000000
##B2A3361.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E26
Deuteranopia (green-blind)
#B6A43D
Tritanopia (blue-blind)
#C0978D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b2a336;
/* rgb */ color: rgb(178, 163, 54);
/* oklch */ color: oklch(70.8% 0.127 101.3);
Tailwind
colors: {
  custom: {
    50: '#ccbd74',
    500: '#b2a336',
    950: '#000000',
  },
}
SCSS
$custom: #b2a336;
$custom-light: #ccbd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a336",
  "rgb": {
    "r": 178,
    "g": 163,
    "b": 54
  },
  "hsl": {
    "h": 52.742,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70846,
    "c": 0.12747,
    "h": 101.3
  },
  "luminance": 0.35926
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2A336

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

Preview Lab → · Contrast checker → · Palette generator →

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