#B2A73F#B2A73F

#B2A73F is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.8% C 0.124 H 103.3°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#B2A73F
RGBrgb(178, 167, 63)
HSLhsl(54, 48%, 47%)
HSVhsv(54, 65%, 70%)
CMYKcmyk(0%, 6.2%, 64.6%, 30.2%)
CIE-LABlab(67.62, -8.75, 53.37)
CIE-LCHlch(67.62, 54.08, 99.31°)
OKLaboklab(71.79% -0.0285 0.1211)
OKLCHoklch(71.79% 0.124 103.3)
XYZxyz(33.0773, 37.4626, 10.1903)
Luminance0.3746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A73F #3F4AB2
analogous
#B26E3F #B2A73F #84B23F
triadic
#B2A73F #3FB2A7 #A73FB2
tetradic
#B2A73F #3FB26E #3F4AB2 #B23F84
square
#B2A73F #3FB26E #3F4AB2 #B23F84
split-complementary
#B2A73F #3F84B2 #6E3FB2
monochromatic
#58521F #857D2F #B2A73F #C9BF66 #D9D293

Accessibility & contrast

On white

2.47
#B2A73F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#B2A73F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A73F
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A73F#FFFFFF#000000##000000
##B2A73F1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A232
Deuteranopia (green-blind)
#B9A745
Tritanopia (blue-blind)
#BF9C91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b2a73f;
/* rgb */ color: rgb(178, 167, 63);
/* oklch */ color: oklch(71.8% 0.124 103.3);
Tailwind
colors: {
  custom: {
    50: '#ccc079',
    500: '#b2a73f',
    950: '#000000',
  },
}
SCSS
$custom: #b2a73f;
$custom-light: #ccc079;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a73f",
  "rgb": {
    "r": 178,
    "g": 167,
    "b": 63
  },
  "hsl": {
    "h": 54.261,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71788,
    "c": 0.12438,
    "h": 103.3
  },
  "luminance": 0.37461
}

Semantic roles & 50–950 ramp

primary
#B2A73F
secondary
#898EC4
accent
#5DD750
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B2A73F

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

Preview Lab → · Contrast checker → · Palette generator →

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