#B2A437#B2A437

#B2A437 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 71.1% C 0.128 H 101.9°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#B2A437
RGBrgb(178, 164, 55)
HSLhsl(53, 53%, 46%)
HSVhsv(53, 69%, 70%)
CMYKcmyk(0%, 7.9%, 69.1%, 30.2%)
CIE-LABlab(66.74, -7.64, 55.81)
CIE-LCHlch(66.74, 56.33, 97.79°)
OKLaboklab(71.07% -0.0263 0.1249)
OKLCHoklch(71.07% 0.128 101.9)
XYZxyz(32.3265, 36.2931, 8.9162)
Luminance0.3629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A437 #3745B2
analogous
#B26637 #B2A437 #82B237
triadic
#B2A437 #37B2A4 #A437B2
tetradic
#B2A437 #37B266 #3745B2 #B23782
square
#B2A437 #37B266 #3745B2 #B23782
split-complementary
#B2A437 #3782B2 #6637B2
monochromatic
#544E1A #837929 #B2A437 #CCBF5A #DBD189

Accessibility & contrast

On white

2.54
#B2A437 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#B2A437 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A437
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A437#FFFFFF#000000##000000
##B2A4371.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F27
Deuteranopia (green-blind)
#B7A53E
Tritanopia (blue-blind)
#BF998E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b2a437;
/* rgb */ color: rgb(178, 164, 55);
/* oklch */ color: oklch(71.1% 0.128 101.9);
Tailwind
colors: {
  custom: {
    50: '#ccbe74',
    500: '#b2a437',
    950: '#000000',
  },
}
SCSS
$custom: #b2a437;
$custom-light: #ccbe74;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a437",
  "rgb": {
    "r": 178,
    "g": 164,
    "b": 55
  },
  "hsl": {
    "h": 53.171,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.7107,
    "c": 0.12764,
    "h": 101.9
  },
  "luminance": 0.36292
}

Semantic roles & 50–950 ramp

primary
#B2A437
secondary
#8088C5
accent
#5CDC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B2A437

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

Preview Lab → · Contrast checker → · Palette generator →

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