#B2A725#B2A725

#B2A725 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.6% C 0.141 H 104.3°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#B2A725
RGBrgb(178, 167, 37)
HSLhsl(55, 66%, 42%)
HSVhsv(55, 79%, 70%)
CMYKcmyk(0%, 6.2%, 79.2%, 30.2%)
CIE-LABlab(67.45, -10.03, 62.92)
CIE-LCHlch(67.45, 63.71, 99.06°)
OKLaboklab(71.6% -0.0348 0.1366)
OKLCHoklch(71.6% 0.141 104.3)
XYZxyz(32.5142, 37.2373, 7.2248)
Luminance0.3724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A725 #2530B2
analogous
#B26125 #B2A725 #77B225
triadic
#B2A725 #25B2A7 #A725B2
tetradic
#B2A725 #25B261 #2530B2 #B22577
square
#B2A725 #25B261 #2530B2 #B22577
split-complementary
#B2A725 #2577B2 #6125B2
monochromatic
#4D4810 #7F771A #B2A725 #D7CB3D #E1D870

Accessibility & contrast

On white

2.49
#B2A725 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#B2A725 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A725
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A725#FFFFFF#000000##000000
##B2A7251.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#BAA730
Tritanopia (blue-blind)
#C09B8F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a725;
/* rgb */ color: rgb(178, 167, 37);
/* oklch */ color: oklch(71.6% 0.141 104.3);
Tailwind
colors: {
  custom: {
    50: '#cdc06c',
    500: '#b2a725',
    950: '#000000',
  },
}
SCSS
$custom: #b2a725;
$custom-light: #cdc06c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a725",
  "rgb": {
    "r": 178,
    "g": 167,
    "b": 37
  },
  "hsl": {
    "h": 55.319,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71601,
    "c": 0.14098,
    "h": 104.3
  },
  "luminance": 0.37236
}

Semantic roles & 50–950 ramp

primary
#B2A725
secondary
#6B72C8
accent
#4CE93F
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B2A725

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

Preview Lab → · Contrast checker → · Palette generator →

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