#B3B730#B3B730

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

Color values

HEX#B3B730
RGBrgb(179, 183, 48)
HSLhsl(62, 58%, 45%)
HSVhsv(62, 74%, 72%)
CMYKcmyk(2.2%, 0%, 73.8%, 28.2%)
CIE-LABlab(72.00, -17.37, 63.58)
CIE-LCHlch(72.00, 65.90, 105.28°)
OKLaboklab(75.27% -0.0544 0.14)
OKLCHoklch(75.27% 0.15 111.2)
XYZxyz(36.0586, 43.6650, 9.3245)
Luminance0.4366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B730 #3430B7
analogous
#B77830 #B3B730 #6FB730
triadic
#B3B730 #30B3B7 #B730B3
tetradic
#B3B730 #30B778 #3430B7 #B7306F
square
#B3B730 #30B778 #3430B7 #B7306F
split-complementary
#B3B730 #306FB7 #7830B7
monochromatic
#545617 #848723 #B3B730 #CED252 #DCDE83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3B730#FFFFFF#000000##000000
##B3B7301.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)
#C5AF13
Deuteranopia (green-blind)
#C6B23B
Tritanopia (blue-blind)
#C0AB9D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b3b730;
/* rgb */ color: rgb(179, 183, 48);
/* oklch */ color: oklch(75.3% 0.150 111.2);
Tailwind
colors: {
  custom: {
    50: '#cdcc73',
    500: '#b3b730',
    950: '#000000',
  },
}
SCSS
$custom: #b3b730;
$custom-light: #cdcc73;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b730",
  "rgb": {
    "r": 179,
    "g": 183,
    "b": 48
  },
  "hsl": {
    "h": 61.778,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.7527,
    "c": 0.15022,
    "h": 111.2
  },
  "luminance": 0.43664
}

Semantic roles & 50–950 ramp

primary
#B3B730
secondary
#7D7BC8
accent
#46E24B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B3B730

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

Preview Lab → · Contrast checker → · Palette generator →

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