#B4A330#B4A330

#B4A330 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 71.0% C 0.131 H 100.6°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#B4A330
RGBrgb(180, 163, 48)
HSLhsl(52, 58%, 45%)
HSVhsv(52, 73%, 71%)
CMYKcmyk(0%, 9.4%, 73.3%, 29.4%)
CIE-LABlab(66.61, -6.58, 58.46)
CIE-LCHlch(66.61, 58.83, 96.43°)
OKLaboklab(70.99% -0.0242 0.1291)
OKLCHoklch(70.99% 0.131 100.6)
XYZxyz(32.4546, 36.1126, 8.0567)
Luminance0.3611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A330 #3041B4
analogous
#B46130 #B4A330 #83B430
triadic
#B4A330 #30B4A3 #A330B4
tetradic
#B4A330 #30B461 #3041B4 #B43083
square
#B4A330 #30B461 #3041B4 #B43083
split-complementary
#B4A330 #3083B4 #6130B4
monochromatic
#534B16 #847723 #B4A330 #D1C051 #DDD281

Accessibility & contrast

On white

2.55
#B4A330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#B4A330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A330
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A330#FFFFFF#000000##000000
##B4A3301.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E1C
Deuteranopia (green-blind)
#B7A538
Tritanopia (blue-blind)
#C2978D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b4a330;
/* rgb */ color: rgb(180, 163, 48);
/* oklch */ color: oklch(71.0% 0.131 100.6);
Tailwind
colors: {
  custom: {
    50: '#cebd70',
    500: '#b4a330',
    950: '#000000',
  },
}
SCSS
$custom: #b4a330;
$custom-light: #cebd70;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a330",
  "rgb": {
    "r": 180,
    "g": 163,
    "b": 48
  },
  "hsl": {
    "h": 52.273,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70988,
    "c": 0.1314,
    "h": 100.6
  },
  "luminance": 0.36111
}

Semantic roles & 50–950 ramp

primary
#B4A330
secondary
#7983C6
accent
#5BE147
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A330

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

Preview Lab → · Contrast checker → · Palette generator →

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