#B8A92D#B8A92D

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

Color values

HEX#B8A92D
RGBrgb(184, 169, 45)
HSLhsl(54, 61%, 45%)
HSVhsv(54, 76%, 72%)
CMYKcmyk(0%, 8.2%, 75.5%, 27.8%)
CIE-LABlab(68.58, -8.12, 61.53)
CIE-LCHlch(68.58, 62.07, 97.52°)
OKLaboklab(72.63% -0.029 0.1349)
OKLCHoklch(72.63% 0.138 102.1)
XYZxyz(34.4304, 38.7573, 8.1494)
Luminance0.3876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A92D #2D3CB8
analogous
#B8632D #B8A92D #82B82D
triadic
#B8A92D #2DB8A9 #A92DB8
tetradic
#B8A92D #2DB863 #2D3CB8 #B82D82
square
#B8A92D #2DB863 #2D3CB8 #B82D82
split-complementary
#B8A92D #2D82B8 #632DB8
monochromatic
#564F15 #877C21 #B8A92D #D4C54E #E0D580

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A92D#FFFFFF#000000##000000
##B8A92D1.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)
#B9A413
Deuteranopia (green-blind)
#BDAA36
Tritanopia (blue-blind)
#C69D91
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a92d;
/* rgb */ color: rgb(184, 169, 45);
/* oklch */ color: oklch(72.6% 0.138 102.1);
Tailwind
colors: {
  custom: {
    50: '#d1c270',
    500: '#b8a92d',
    950: '#000000',
  },
}
SCSS
$custom: #b8a92d;
$custom-light: #d1c270;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a92d",
  "rgb": {
    "r": 184,
    "g": 169,
    "b": 45
  },
  "hsl": {
    "h": 53.525,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72633,
    "c": 0.13803,
    "h": 102.1
  },
  "luminance": 0.38756
}

Semantic roles & 50–950 ramp

primary
#B8A92D
secondary
#7881C9
accent
#55E444
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8A92D

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

Preview Lab → · Contrast checker → · Palette generator →

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