#B2A431#B2A431

#B2A431 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 71.0% C 0.132 H 102.2°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#B2A431
RGBrgb(178, 164, 49)
HSLhsl(53, 57%, 45%)
HSVhsv(53, 72%, 70%)
CMYKcmyk(0%, 7.9%, 72.5%, 30.2%)
CIE-LABlab(66.70, -7.95, 58.12)
CIE-LCHlch(66.70, 58.66, 97.79°)
OKLaboklab(71.02% -0.0278 0.1287)
OKLCHoklch(71.02% 0.132 102.2)
XYZxyz(32.1914, 36.2390, 8.2043)
Luminance0.3624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A431 #313FB2
analogous
#B26331 #B2A431 #80B231
triadic
#B2A431 #31B2A4 #A431B2
tetradic
#B2A431 #31B263 #313FB2 #B23180
square
#B2A431 #31B263 #313FB2 #B23180
split-complementary
#B2A431 #3180B2 #6331B2
monochromatic
#524C17 #827824 #B2A431 #CFC151 #DCD281

Accessibility & contrast

On white

2.55
#B2A431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#B2A431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A431
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A431#FFFFFF#000000##000000
##B2A4311.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F1E
Deuteranopia (green-blind)
#B7A539
Tritanopia (blue-blind)
#C0988D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b2a431;
/* rgb */ color: rgb(178, 164, 49);
/* oklch */ color: oklch(71.0% 0.132 102.2);
Tailwind
colors: {
  custom: {
    50: '#cdbe71',
    500: '#b2a431',
    950: '#000000',
  },
}
SCSS
$custom: #b2a431;
$custom-light: #cdbe71;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a431",
  "rgb": {
    "r": 178,
    "g": 164,
    "b": 49
  },
  "hsl": {
    "h": 53.488,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71024,
    "c": 0.13166,
    "h": 102.2
  },
  "luminance": 0.36238
}

Semantic roles & 50–950 ramp

primary
#B2A431
secondary
#7982C5
accent
#58E048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A431

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

Preview Lab → · Contrast checker → · Palette generator →

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