#B4A730#B4A730

#B4A730 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.9% C 0.135 H 102.9°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#B4A730
RGBrgb(180, 167, 48)
HSLhsl(54, 58%, 45%)
HSVhsv(54, 73%, 71%)
CMYKcmyk(0%, 7.2%, 73.3%, 29.4%)
CIE-LABlab(67.69, -8.69, 59.50)
CIE-LCHlch(67.69, 60.14, 98.31°)
OKLaboklab(71.85% -0.0301 0.1314)
OKLCHoklch(71.85% 0.135 102.9)
XYZxyz(33.1761, 37.5555, 8.2971)
Luminance0.3755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A730 #303DB4
analogous
#B46530 #B4A730 #7FB430
triadic
#B4A730 #30B4A7 #A730B4
tetradic
#B4A730 #30B465 #303DB4 #B4307F
square
#B4A730 #30B465 #303DB4 #B4307F
split-complementary
#B4A730 #307FB4 #6530B4
monochromatic
#534D16 #847A23 #B4A730 #D1C451 #DDD481

Accessibility & contrast

On white

2.47
#B4A730 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#B4A730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A730
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A730#FFFFFF#000000##000000
##B4A7301.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A21B
Deuteranopia (green-blind)
#BAA838
Tritanopia (blue-blind)
#C29B90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b4a730;
/* rgb */ color: rgb(180, 167, 48);
/* oklch */ color: oklch(71.9% 0.135 102.9);
Tailwind
colors: {
  custom: {
    50: '#cec071',
    500: '#b4a730',
    950: '#000000',
  },
}
SCSS
$custom: #b4a730;
$custom-light: #cec071;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a730",
  "rgb": {
    "r": 180,
    "g": 167,
    "b": 48
  },
  "hsl": {
    "h": 54.091,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71851,
    "c": 0.13479,
    "h": 102.9
  },
  "luminance": 0.37554
}

Semantic roles & 50–950 ramp

primary
#B4A730
secondary
#7981C6
accent
#56E147
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A730

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

Preview Lab → · Contrast checker → · Palette generator →

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