#B8A92E#B8A92E

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

Color values

HEX#B8A92E
RGBrgb(184, 169, 46)
HSLhsl(53, 60%, 45%)
HSVhsv(53, 75%, 72%)
CMYKcmyk(0%, 8.2%, 75%, 27.8%)
CIE-LABlab(68.58, -8.08, 61.19)
CIE-LCHlch(68.58, 61.72, 97.52°)
OKLaboklab(72.64% -0.0288 0.1344)
OKLCHoklch(72.64% 0.137 102.1)
XYZxyz(34.4499, 38.7651, 8.2520)
Luminance0.3876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A92E #2E3DB8
analogous
#B8642E #B8A92E #82B82E
triadic
#B8A92E #2EB8A9 #A92EB8
tetradic
#B8A92E #2EB864 #2E3DB8 #B82E82
square
#B8A92E #2EB864 #2E3DB8 #B82E82
split-complementary
#B8A92E #2E82B8 #642EB8
monochromatic
#564F16 #877C22 #B8A92E #D3C550 #DFD581

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A92E#FFFFFF#000000##000000
##B8A92E1.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)
#B9A416
Deuteranopia (green-blind)
#BDAA37
Tritanopia (blue-blind)
#C69D91
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a92e;
/* rgb */ color: rgb(184, 169, 46);
/* oklch */ color: oklch(72.6% 0.137 102.1);
Tailwind
colors: {
  custom: {
    50: '#d1c270',
    500: '#b8a92e',
    950: '#000000',
  },
}
SCSS
$custom: #b8a92e;
$custom-light: #d1c270;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a92e",
  "rgb": {
    "r": 184,
    "g": 169,
    "b": 46
  },
  "hsl": {
    "h": 53.478,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72639,
    "c": 0.13747,
    "h": 102.1
  },
  "luminance": 0.38764
}

Semantic roles & 50–950 ramp

primary
#B8A92E
secondary
#7982C8
accent
#56E345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8A92E

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

Preview Lab → · Contrast checker → · Palette generator →

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