#B2B73F#B2B73F

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

Color values

HEX#B2B73F
RGBrgb(178, 183, 63)
HSLhsl(63, 49%, 48%)
HSVhsv(63, 66%, 72%)
CMYKcmyk(2.7%, 0%, 65.6%, 28.2%)
CIE-LABlab(72.02, -17.00, 57.97)
CIE-LCHlch(72.02, 60.41, 106.34°)
OKLaboklab(75.3% -0.0519 0.1308)
OKLCHoklch(75.3% 0.141 111.6)
XYZxyz(36.1919, 43.6917, 11.2285)
Luminance0.4369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B73F #443FB7
analogous
#B7803F #B2B73F #76B73F
triadic
#B2B73F #3FB2B7 #B73FB2
tetradic
#B2B73F #3FB780 #443FB7 #B73F76
square
#B2B73F #3FB780 #443FB7 #B73F76
split-complementary
#B2B73F #3F76B7 #803FB7
monochromatic
#595C20 #86892F #B2B73F #C7CB68 #D8DB96

Accessibility & contrast

On white

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

On black

9.74
#B2B73F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B73F
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B73F#FFFFFF#000000##000000
##B2B73F1.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF2E
Deuteranopia (green-blind)
#C5B247
Tritanopia (blue-blind)
#BEAC9F
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b2b73f;
/* rgb */ color: rgb(178, 183, 63);
/* oklch */ color: oklch(75.3% 0.141 111.6);
Tailwind
colors: {
  custom: {
    50: '#cccc7a',
    500: '#b2b73f',
    950: '#000000',
  },
}
SCSS
$custom: #b2b73f;
$custom-light: #cccc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b73f",
  "rgb": {
    "r": 178,
    "g": 183,
    "b": 63
  },
  "hsl": {
    "h": 62.5,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.75296,
    "c": 0.14068,
    "h": 111.6
  },
  "luminance": 0.43691
}

Semantic roles & 50–950 ramp

primary
#B2B73F
secondary
#8E8BC6
accent
#4FD855
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B73F

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

Preview Lab → · Contrast checker → · Palette generator →

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