#B4A92A#B4A92A

#B4A92A is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.2% C 0.140 H 104.2°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#B4A92A
RGBrgb(180, 169, 42)
HSLhsl(55, 62%, 44%)
HSVhsv(55, 77%, 71%)
CMYKcmyk(0%, 6.1%, 76.7%, 29.4%)
CIE-LABlab(68.20, -10.00, 62.07)
CIE-LCHlch(68.20, 62.87, 99.15°)
OKLaboklab(72.25% -0.0344 0.1357)
OKLCHoklch(72.25% 0.14 104.2)
XYZxyz(33.4298, 38.2478, 7.8117)
Luminance0.3825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A92A #2A35B4
analogous
#B4642A #B4A92A #7AB42A
triadic
#B4A92A #2AB4A9 #A92AB4
tetradic
#B4A92A #2AB464 #2A35B4 #B42A7A
square
#B4A92A #2AB464 #2A35B4 #B42A7A
split-complementary
#B4A92A #2A7AB4 #642AB4
monochromatic
#514C13 #827A1E #B4A92A #D4C947 #E0D779

Accessibility & contrast

On white

2.43
#B4A92A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#B4A92A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A92A
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A92A#FFFFFF#000000##000000
##B4A92A1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A30B
Deuteranopia (green-blind)
#BCA934
Tritanopia (blue-blind)
#C29D91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b4a92a;
/* rgb */ color: rgb(180, 169, 42);
/* oklch */ color: oklch(72.2% 0.140 104.2);
Tailwind
colors: {
  custom: {
    50: '#cec26e',
    500: '#b4a92a',
    950: '#000000',
  },
}
SCSS
$custom: #b4a92a;
$custom-light: #cec26e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a92a",
  "rgb": {
    "r": 180,
    "g": 169,
    "b": 42
  },
  "hsl": {
    "h": 55.217,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.72247,
    "c": 0.13998,
    "h": 104.2
  },
  "luminance": 0.38246
}

Semantic roles & 50–950 ramp

primary
#B4A92A
secondary
#7279C8
accent
#50E543
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A92A

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

Preview Lab → · Contrast checker → · Palette generator →

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