#B2A236#B2A236

#B2A236 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.6% C 0.127 H 100.7°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#B2A236
RGBrgb(178, 162, 54)
HSLhsl(52, 53%, 45%)
HSVhsv(52, 70%, 70%)
CMYKcmyk(0%, 9%, 69.7%, 30.2%)
CIE-LABlab(66.19, -6.63, 55.66)
CIE-LCHlch(66.19, 56.05, 96.80°)
OKLaboklab(70.63% -0.0236 0.1244)
OKLCHoklch(70.63% 0.127 100.7)
XYZxyz(31.9477, 35.5734, 8.6729)
Luminance0.3557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A236 #3646B2
analogous
#B26436 #B2A236 #84B236
triadic
#B2A236 #36B2A2 #A236B2
tetradic
#B2A236 #36B264 #3646B2 #B23684
square
#B2A236 #36B264 #3646B2 #B23684
split-complementary
#B2A236 #3684B2 #6436B2
monochromatic
#544D1A #837728 #B2A236 #CDBE59 #DBD088

Accessibility & contrast

On white

2.59
#B2A236 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#B2A236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A236
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A236#FFFFFF#000000##000000
##B2A2361.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D26
Deuteranopia (green-blind)
#B6A43D
Tritanopia (blue-blind)
#C0968C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b2a236;
/* rgb */ color: rgb(178, 162, 54);
/* oklch */ color: oklch(70.6% 0.127 100.7);
Tailwind
colors: {
  custom: {
    50: '#ccbd73',
    500: '#b2a236',
    950: '#000000',
  },
}
SCSS
$custom: #b2a236;
$custom-light: #ccbd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a236",
  "rgb": {
    "r": 178,
    "g": 162,
    "b": 54
  },
  "hsl": {
    "h": 52.258,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.7063,
    "c": 0.12661,
    "h": 100.7
  },
  "luminance": 0.35572
}

Semantic roles & 50–950 ramp

primary
#B2A236
secondary
#7F88C5
accent
#5EDD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A236

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

Preview Lab → · Contrast checker → · Palette generator →

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