#B2A73B#B2A73B

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

Color values

HEX#B2A73B
RGBrgb(178, 167, 59)
HSLhsl(54, 50%, 46%)
HSVhsv(54, 67%, 70%)
CMYKcmyk(0%, 6.2%, 66.9%, 30.2%)
CIE-LABlab(67.59, -8.99, 55.04)
CIE-LCHlch(67.59, 55.77, 99.28°)
OKLaboklab(71.75% -0.0297 0.1239)
OKLCHoklch(71.75% 0.127 103.5)
XYZxyz(32.9695, 37.4195, 9.6228)
Luminance0.3742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A73B #3B46B2
analogous
#B26C3B #B2A73B #82B23B
triadic
#B2A73B #3BB2A7 #A73BB2
tetradic
#B2A73B #3BB26C #3B46B2 #B23B82
square
#B2A73B #3BB26C #3B46B2 #B23B82
split-complementary
#B2A73B #3B82B2 #6C3BB2
monochromatic
#56511D #847C2C #B2A73B #CAC060 #DAD38E

Accessibility & contrast

On white

2.48
#B2A73B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#B2A73B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A73B
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A73B#FFFFFF#000000##000000
##B2A73B1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2a73b;
/* rgb */ color: rgb(178, 167, 59);
/* oklch */ color: oklch(71.8% 0.127 103.5);
Tailwind
colors: {
  custom: {
    50: '#ccc077',
    500: '#b2a73b',
    950: '#000000',
  },
}
SCSS
$custom: #b2a73b;
$custom-light: #ccc077;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a73b",
  "rgb": {
    "r": 178,
    "g": 167,
    "b": 59
  },
  "hsl": {
    "h": 54.454,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71752,
    "c": 0.12745,
    "h": 103.5
  },
  "luminance": 0.37418
}

Semantic roles & 50–950 ramp

primary
#B2A73B
secondary
#858AC4
accent
#5BDA4E
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B2A73B

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

Preview Lab → · Contrast checker → · Palette generator →

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