#B4B730#B4B730

#B4B730 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.4% C 0.150 H 110.8°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#B4B730
RGBrgb(180, 183, 48)
HSLhsl(61, 58%, 45%)
HSVhsv(61, 74%, 72%)
CMYKcmyk(1.6%, 0%, 73.8%, 28.2%)
CIE-LABlab(72.08, -16.94, 63.68)
CIE-LCHlch(72.08, 65.89, 104.90°)
OKLaboklab(75.35% -0.0533 0.1402)
OKLCHoklch(75.35% 0.15 110.8)
XYZxyz(36.2906, 43.7847, 9.3353)
Luminance0.4378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B730 #3330B7
analogous
#B77630 #B4B730 #71B730
triadic
#B4B730 #30B4B7 #B730B4
tetradic
#B4B730 #30B776 #3330B7 #B73071
square
#B4B730 #30B776 #3330B7 #B73071
split-complementary
#B4B730 #3071B7 #7630B7
monochromatic
#555617 #848723 #B4B730 #CFD252 #DCDE83

Accessibility & contrast

On white

2.15
#B4B730 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#B4B730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B730
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B730#FFFFFF#000000##000000
##B4B7301.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF13
Deuteranopia (green-blind)
#C7B23B
Tritanopia (blue-blind)
#C1AB9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b4b730;
/* rgb */ color: rgb(180, 183, 48);
/* oklch */ color: oklch(75.4% 0.150 110.8);
Tailwind
colors: {
  custom: {
    50: '#cecc73',
    500: '#b4b730',
    950: '#000000',
  },
}
SCSS
$custom: #b4b730;
$custom-light: #cecc73;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b730",
  "rgb": {
    "r": 180,
    "g": 183,
    "b": 48
  },
  "hsl": {
    "h": 61.333,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75353,
    "c": 0.14999,
    "h": 110.8
  },
  "luminance": 0.43784
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4B730

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

Preview Lab → · Contrast checker → · Palette generator →

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