#B3B72F#B3B72F

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

Color values

HEX#B3B72F
RGBrgb(179, 183, 47)
HSLhsl(62, 59%, 45%)
HSVhsv(62, 74%, 72%)
CMYKcmyk(2.2%, 0%, 74.3%, 28.2%)
CIE-LABlab(72.00, -17.41, 63.91)
CIE-LCHlch(72.00, 66.24, 105.24°)
OKLaboklab(75.26% -0.0546 0.1405)
OKLCHoklch(75.26% 0.151 111.2)
XYZxyz(36.0382, 43.6569, 9.2170)
Luminance0.4366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B72F #332FB7
analogous
#B7772F #B3B72F #6FB72F
triadic
#B3B72F #2FB3B7 #B72FB3
tetradic
#B3B72F #2FB777 #332FB7 #B72F6F
square
#B3B72F #2FB777 #332FB7 #B72F6F
split-complementary
#B3B72F #2F6FB7 #772FB7
monochromatic
#545616 #838622 #B3B72F #CED251 #DCDF82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3B72F#FFFFFF#000000##000000
##B3B72F1.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)
#C5AF10
Deuteranopia (green-blind)
#C6B23A
Tritanopia (blue-blind)
#C0AB9D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b3b72f;
/* rgb */ color: rgb(179, 183, 47);
/* oklch */ color: oklch(75.3% 0.151 111.2);
Tailwind
colors: {
  custom: {
    50: '#cdcc72',
    500: '#b3b72f',
    950: '#000000',
  },
}
SCSS
$custom: #b3b72f;
$custom-light: #cdcc72;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b72f",
  "rgb": {
    "r": 179,
    "g": 183,
    "b": 47
  },
  "hsl": {
    "h": 61.765,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75263,
    "c": 0.15078,
    "h": 111.2
  },
  "luminance": 0.43656
}

Semantic roles & 50–950 ramp

primary
#B3B72F
secondary
#7C7AC8
accent
#45E24A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B3B72F

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

Preview Lab → · Contrast checker → · Palette generator →

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