#B8A92A#B8A92A

#B8A92A is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.6% C 0.140 H 102.3°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#B8A92A
RGBrgb(184, 169, 42)
HSLhsl(54, 63%, 44%)
HSVhsv(54, 77%, 72%)
CMYKcmyk(0%, 8.2%, 77.2%, 27.8%)
CIE-LABlab(68.56, -8.24, 62.53)
CIE-LCHlch(68.56, 63.07, 97.51°)
OKLaboklab(72.61% -0.0297 0.1365)
OKLCHoklch(72.61% 0.14 102.3)
XYZxyz(34.3747, 38.7350, 7.8560)
Luminance0.3873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A92A #2A39B8
analogous
#B8622A #B8A92A #80B82A
triadic
#B8A92A #2AB8A9 #A92AB8
tetradic
#B8A92A #2AB862 #2A39B8 #B82A80
square
#B8A92A #2AB862 #2A39B8 #B82A80
split-complementary
#B8A92A #2A80B8 #622AB8
monochromatic
#544D13 #867B1F #B8A92A #D6C74A #E1D67B

Accessibility & contrast

On white

2.40
#B8A92A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#B8A92A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A92A
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A92A#FFFFFF#000000##000000
##B8A92A1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A40B
Deuteranopia (green-blind)
#BEAA34
Tritanopia (blue-blind)
#C69D91
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a92a;
/* rgb */ color: rgb(184, 169, 42);
/* oklch */ color: oklch(72.6% 0.140 102.3);
Tailwind
colors: {
  custom: {
    50: '#d1c26e',
    500: '#b8a92a',
    950: '#000000',
  },
}
SCSS
$custom: #b8a92a;
$custom-light: #d1c26e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a92a",
  "rgb": {
    "r": 184,
    "g": 169,
    "b": 42
  },
  "hsl": {
    "h": 53.662,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72615,
    "c": 0.13968,
    "h": 102.3
  },
  "luminance": 0.38733
}

Semantic roles & 50–950 ramp

primary
#B8A92A
secondary
#757EC9
accent
#53E642
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8A92A

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

Preview Lab → · Contrast checker → · Palette generator →

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