#B2A237#B2A237

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

Color values

HEX#B2A237
RGBrgb(178, 162, 55)
HSLhsl(52, 53%, 46%)
HSVhsv(52, 69%, 70%)
CMYKcmyk(0%, 9%, 69.1%, 30.2%)
CIE-LABlab(66.20, -6.58, 55.26)
CIE-LCHlch(66.20, 55.65, 96.79°)
OKLaboklab(70.64% -0.0233 0.1237)
OKLCHoklch(70.64% 0.126 100.7)
XYZxyz(31.9714, 35.5829, 8.7978)
Luminance0.3558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A237 #3747B2
analogous
#B26437 #B2A237 #84B237
triadic
#B2A237 #37B2A2 #A237B2
tetradic
#B2A237 #37B264 #3747B2 #B23784
square
#B2A237 #37B264 #3747B2 #B23784
split-complementary
#B2A237 #3784B2 #6437B2
monochromatic
#544D1A #837729 #B2A237 #CCBD5A #DBD089

Accessibility & contrast

On white

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

On black

8.12
#B2A237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A237
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A237#FFFFFF#000000##000000
##B2A2371.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2a237;
/* rgb */ color: rgb(178, 162, 55);
/* oklch */ color: oklch(70.6% 0.126 100.7);
Tailwind
colors: {
  custom: {
    50: '#ccbd74',
    500: '#b2a237',
    950: '#000000',
  },
}
SCSS
$custom: #b2a237;
$custom-light: #ccbd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a237",
  "rgb": {
    "r": 178,
    "g": 162,
    "b": 55
  },
  "hsl": {
    "h": 52.195,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70638,
    "c": 0.1259,
    "h": 100.7
  },
  "luminance": 0.35581
}

Semantic roles & 50–950 ramp

primary
#B2A237
secondary
#8089C5
accent
#5EDC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B2A237

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

Preview Lab → · Contrast checker → · Palette generator →

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