#B2A124#B2A124

#B2A124 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.3% C 0.136 H 101.0°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#B2A124
RGBrgb(178, 161, 36)
HSLhsl(53, 66%, 42%)
HSVhsv(53, 80%, 70%)
CMYKcmyk(0%, 9.6%, 79.8%, 30.2%)
CIE-LABlab(65.81, -6.91, 61.77)
CIE-LCHlch(65.81, 62.15, 96.38°)
OKLaboklab(70.3% -0.0261 0.1339)
OKLCHoklch(70.3% 0.136 101)
XYZxyz(31.4250, 35.0836, 6.7853)
Luminance0.3508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A124 #2435B2
analogous
#B25A24 #B2A124 #7CB224
triadic
#B2A124 #24B2A1 #A124B2
tetradic
#B2A124 #24B25A #2435B2 #B2247C
square
#B2A124 #24B25A #2435B2 #B2247C
split-complementary
#B2A124 #247CB2 #5A24B2
monochromatic
#4C450F #7F731A #B2A124 #D8C53C #E2D46F

Accessibility & contrast

On white

2.62
#B2A124 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#B2A124 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A124
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A124#FFFFFF#000000##000000
##B2A1241.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B6A32E
Tritanopia (blue-blind)
#C0958A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b2a124;
/* rgb */ color: rgb(178, 161, 36);
/* oklch */ color: oklch(70.3% 0.136 101.0);
Tailwind
colors: {
  custom: {
    50: '#cdbc6a',
    500: '#b2a124',
    950: '#000000',
  },
}
SCSS
$custom: #b2a124;
$custom-light: #cdbc6a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a124",
  "rgb": {
    "r": 178,
    "g": 161,
    "b": 36
  },
  "hsl": {
    "h": 52.817,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70295,
    "c": 0.13647,
    "h": 101
  },
  "luminance": 0.35082
}

Semantic roles & 50–950 ramp

primary
#B2A124
secondary
#6975C8
accent
#53E93F
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B2A124

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

Preview Lab → · Contrast checker → · Palette generator →

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