#B4A82A#B4A82A

#B4A82A is a light, vivid yellow. Relative luminance 0.379; OKLCH L 72.0% C 0.139 H 103.7°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#B4A82A
RGBrgb(180, 168, 42)
HSLhsl(55, 62%, 44%)
HSVhsv(55, 77%, 71%)
CMYKcmyk(0%, 6.7%, 76.7%, 29.4%)
CIE-LABlab(67.93, -9.48, 61.82)
CIE-LCHlch(67.93, 62.54, 98.72°)
OKLaboklab(72.03% -0.0329 0.1352)
OKLCHoklch(72.03% 0.139 103.7)
XYZxyz(33.2444, 37.8771, 7.7499)
Luminance0.3788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A82A #2A36B4
analogous
#B4632A #B4A82A #7BB42A
triadic
#B4A82A #2AB4A8 #A82AB4
tetradic
#B4A82A #2AB463 #2A36B4 #B42A7B
square
#B4A82A #2AB463 #2A36B4 #B42A7B
split-complementary
#B4A82A #2A7BB4 #632AB4
monochromatic
#514B13 #827A1E #B4A82A #D4C847 #E0D779

Accessibility & contrast

On white

2.45
#B4A82A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#B4A82A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A82A
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A82A#FFFFFF#000000##000000
##B4A82A1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A20C
Deuteranopia (green-blind)
#BBA834
Tritanopia (blue-blind)
#C29C90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b4a82a;
/* rgb */ color: rgb(180, 168, 42);
/* oklch */ color: oklch(72.0% 0.139 103.7);
Tailwind
colors: {
  custom: {
    50: '#cec16e',
    500: '#b4a82a',
    950: '#000000',
  },
}
SCSS
$custom: #b4a82a;
$custom-light: #cec16e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a82a",
  "rgb": {
    "r": 180,
    "g": 168,
    "b": 42
  },
  "hsl": {
    "h": 54.783,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.7203,
    "c": 0.13911,
    "h": 103.7
  },
  "luminance": 0.37876
}

Semantic roles & 50–950 ramp

primary
#B4A82A
secondary
#727AC8
accent
#51E543
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A82A

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

Preview Lab → · Contrast checker → · Palette generator →

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