#B2A73C#B2A73C

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

Color values

HEX#B2A73C
RGBrgb(178, 167, 60)
HSLhsl(54, 50%, 47%)
HSVhsv(54, 66%, 70%)
CMYKcmyk(0%, 6.2%, 66.3%, 30.2%)
CIE-LABlab(67.60, -8.93, 54.63)
CIE-LCHlch(67.60, 55.35, 99.29°)
OKLaboklab(71.76% -0.0294 0.1232)
OKLCHoklch(71.76% 0.127 103.4)
XYZxyz(32.9957, 37.4299, 9.7607)
Luminance0.3743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A73C #3C47B2
analogous
#B26C3C #B2A73C #82B23C
triadic
#B2A73C #3CB2A7 #A73CB2
tetradic
#B2A73C #3CB26C #3C47B2 #B23C82
square
#B2A73C #3CB26C #3C47B2 #B23C82
split-complementary
#B2A73C #3C82B2 #6C3CB2
monochromatic
#56511D #847C2D #B2A73C #CAC061 #D9D28F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2A73C#FFFFFF#000000##000000
##B2A73C1.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)
#B6A22E
Deuteranopia (green-blind)
#B9A742
Tritanopia (blue-blind)
#BF9C91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b2a73c;
/* rgb */ color: rgb(178, 167, 60);
/* oklch */ color: oklch(71.8% 0.127 103.4);
Tailwind
colors: {
  custom: {
    50: '#ccc077',
    500: '#b2a73c',
    950: '#000000',
  },
}
SCSS
$custom: #b2a73c;
$custom-light: #ccc077;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a73c",
  "rgb": {
    "r": 178,
    "g": 167,
    "b": 60
  },
  "hsl": {
    "h": 54.407,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71761,
    "c": 0.12669,
    "h": 103.4
  },
  "luminance": 0.37429
}

Semantic roles & 50–950 ramp

primary
#B2A73C
secondary
#868BC4
accent
#5CD94F
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B2A73C

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

Preview Lab → · Contrast checker → · Palette generator →

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