#B2B73A#B2B73A

#B2B73A is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.3% C 0.144 H 111.6°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#B2B73A
RGBrgb(178, 183, 58)
HSLhsl(62, 52%, 47%)
HSVhsv(62, 68%, 72%)
CMYKcmyk(2.7%, 0%, 68.3%, 28.2%)
CIE-LABlab(71.99, -17.29, 59.91)
CIE-LCHlch(71.99, 62.36, 106.10°)
OKLaboklab(75.26% -0.0532 0.1341)
OKLCHoklch(75.26% 0.144 111.6)
XYZxyz(36.0584, 43.6383, 10.5257)
Luminance0.4364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B73A #3F3AB7
analogous
#B77E3A #B2B73A #74B73A
triadic
#B2B73A #3AB2B7 #B73AB2
tetradic
#B2B73A #3AB77E #3F3AB7 #B73A74
square
#B2B73A #3AB77E #3F3AB7 #B73A74
split-complementary
#B2B73A #3A74B7 #7E3AB7
monochromatic
#585A1D #85892B #B2B73A #C9CD61 #D9DC90

Accessibility & contrast

On white

2.16
#B2B73A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#B2B73A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B73A
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B73A#FFFFFF#000000##000000
##B2B73A1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF27
Deuteranopia (green-blind)
#C5B243
Tritanopia (blue-blind)
#BEAC9E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b2b73a;
/* rgb */ color: rgb(178, 183, 58);
/* oklch */ color: oklch(75.3% 0.144 111.6);
Tailwind
colors: {
  custom: {
    50: '#cccc78',
    500: '#b2b73a',
    950: '#000000',
  },
}
SCSS
$custom: #b2b73a;
$custom-light: #cccc78;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b73a",
  "rgb": {
    "r": 178,
    "g": 183,
    "b": 58
  },
  "hsl": {
    "h": 62.4,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.75255,
    "c": 0.14422,
    "h": 111.6
  },
  "luminance": 0.43637
}

Semantic roles & 50–950 ramp

primary
#B2B73A
secondary
#8986C7
accent
#4CDB52
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #B2B73A

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

Preview Lab → · Contrast checker → · Palette generator →

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