#B8A92C#B8A92C

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

Color values

HEX#B8A92C
RGBrgb(184, 169, 44)
HSLhsl(54, 61%, 45%)
HSVhsv(54, 76%, 72%)
CMYKcmyk(0%, 8.2%, 76.1%, 27.8%)
CIE-LABlab(68.57, -8.16, 61.87)
CIE-LCHlch(68.57, 62.41, 97.52°)
OKLaboklab(72.63% -0.0293 0.1355)
OKLCHoklch(72.63% 0.139 102.2)
XYZxyz(34.4114, 38.7497, 8.0492)
Luminance0.3875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A92C #2C3BB8
analogous
#B8632C #B8A92C #81B82C
triadic
#B8A92C #2CB8A9 #A92CB8
tetradic
#B8A92C #2CB863 #2C3BB8 #B82C81
square
#B8A92C #2CB863 #2C3BB8 #B82C81
split-complementary
#B8A92C #2C81B8 #632CB8
monochromatic
#554E14 #877C20 #B8A92C #D4C64D #E0D67E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A92C#FFFFFF#000000##000000
##B8A92C1.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)
#B9A411
Deuteranopia (green-blind)
#BDAA35
Tritanopia (blue-blind)
#C69D91
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a92c;
/* rgb */ color: rgb(184, 169, 44);
/* oklch */ color: oklch(72.6% 0.139 102.2);
Tailwind
colors: {
  custom: {
    50: '#d1c26f',
    500: '#b8a92c',
    950: '#000000',
  },
}
SCSS
$custom: #b8a92c;
$custom-light: #d1c26f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a92c",
  "rgb": {
    "r": 184,
    "g": 169,
    "b": 44
  },
  "hsl": {
    "h": 53.571,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72627,
    "c": 0.13859,
    "h": 102.2
  },
  "luminance": 0.38748
}

Semantic roles & 50–950 ramp

primary
#B8A92C
secondary
#7780C9
accent
#55E543
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8A92C

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

Preview Lab → · Contrast checker → · Palette generator →

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