#B2B73B#B2B73B

#B2B73B 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#B2B73B
RGBrgb(178, 183, 59)
HSLhsl(62, 51%, 47%)
HSVhsv(62, 68%, 72%)
CMYKcmyk(2.7%, 0%, 67.8%, 28.2%)
CIE-LABlab(71.99, -17.24, 59.53)
CIE-LCHlch(71.99, 61.98, 106.15°)
OKLaboklab(75.26% -0.0529 0.1334)
OKLCHoklch(75.26% 0.144 111.6)
XYZxyz(36.0841, 43.6486, 10.6610)
Luminance0.4365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B73B #403BB7
analogous
#B77E3B #B2B73B #74B73B
triadic
#B2B73B #3BB2B7 #B73BB2
tetradic
#B2B73B #3BB77E #403BB7 #B73B74
square
#B2B73B #3BB77E #403BB7 #B73B74
split-complementary
#B2B73B #3B74B7 #7E3BB7
monochromatic
#585A1D #85892C #B2B73B #C8CD63 #D8DC91

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B73B#FFFFFF#000000##000000
##B2B73B1.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)
#C5AF28
Deuteranopia (green-blind)
#C5B244
Tritanopia (blue-blind)
#BEAC9E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b2b73b;
/* rgb */ color: rgb(178, 183, 59);
/* oklch */ color: oklch(75.3% 0.144 111.6);
Tailwind
colors: {
  custom: {
    50: '#cccc78',
    500: '#b2b73b',
    950: '#000000',
  },
}
SCSS
$custom: #b2b73b;
$custom-light: #cccc78;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b73b",
  "rgb": {
    "r": 178,
    "g": 183,
    "b": 59
  },
  "hsl": {
    "h": 62.419,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.75263,
    "c": 0.14354,
    "h": 111.6
  },
  "luminance": 0.43648
}

Semantic roles & 50–950 ramp

primary
#B2B73B
secondary
#8A87C6
accent
#4DDB53
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #B2B73B

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

Preview Lab → · Contrast checker → · Palette generator →

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