#B2A125#B2A125

#B2A125 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#B2A125
RGBrgb(178, 161, 37)
HSLhsl(53, 66%, 42%)
HSVhsv(53, 79%, 70%)
CMYKcmyk(0%, 9.6%, 79.2%, 30.2%)
CIE-LABlab(65.82, -6.87, 61.46)
CIE-LCHlch(65.82, 61.84, 96.38°)
OKLaboklab(70.3% -0.0259 0.1335)
OKLCHoklch(70.3% 0.136 101)
XYZxyz(31.4404, 35.0898, 6.8668)
Luminance0.3509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A125 #2536B2
analogous
#B25B25 #B2A125 #7DB225
triadic
#B2A125 #25B2A1 #A125B2
tetradic
#B2A125 #25B25B #2536B2 #B2257D
square
#B2A125 #25B25B #2536B2 #B2257D
split-complementary
#B2A125 #257DB2 #5B25B2
monochromatic
#4D4510 #7F731A #B2A125 #D7C43D #E1D470

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2A125#FFFFFF#000000##000000
##B2A1251.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)
#B19C02
Deuteranopia (green-blind)
#B6A32F
Tritanopia (blue-blind)
#C0958A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b2a125;
/* rgb */ color: rgb(178, 161, 37);
/* oklch */ color: oklch(70.3% 0.136 101.0);
Tailwind
colors: {
  custom: {
    50: '#cdbc6b',
    500: '#b2a125',
    950: '#000000',
  },
}
SCSS
$custom: #b2a125;
$custom-light: #cdbc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a125",
  "rgb": {
    "r": 178,
    "g": 161,
    "b": 37
  },
  "hsl": {
    "h": 52.766,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.703,
    "c": 0.13597,
    "h": 101
  },
  "luminance": 0.35088
}

Semantic roles & 50–950 ramp

primary
#B2A125
secondary
#6B76C8
accent
#54E93F
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B2A125

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

Preview Lab → · Contrast checker → · Palette generator →

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