#B8A92F#B8A92F

#B8A92F 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#B8A92F
RGBrgb(184, 169, 47)
HSLhsl(53, 59%, 45%)
HSVhsv(53, 74%, 72%)
CMYKcmyk(0%, 8.2%, 74.5%, 27.8%)
CIE-LABlab(68.59, -8.03, 60.84)
CIE-LCHlch(68.59, 61.37, 97.52°)
OKLaboklab(72.65% -0.0286 0.1339)
OKLCHoklch(72.65% 0.137 102.1)
XYZxyz(34.4698, 38.7730, 8.3571)
Luminance0.3877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A92F #2F3EB8
analogous
#B8652F #B8A92F #82B82F
triadic
#B8A92F #2FB8A9 #A92FB8
tetradic
#B8A92F #2FB865 #2F3EB8 #B82F82
square
#B8A92F #2FB865 #2F3EB8 #B82F82
split-complementary
#B8A92F #2F82B8 #652FB8
monochromatic
#574F16 #877C23 #B8A92F #D3C552 #DFD582

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A92F#FFFFFF#000000##000000
##B8A92F1.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)
#B9A418
Deuteranopia (green-blind)
#BDAA38
Tritanopia (blue-blind)
#C69D91
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a92f;
/* rgb */ color: rgb(184, 169, 47);
/* oklch */ color: oklch(72.6% 0.137 102.1);
Tailwind
colors: {
  custom: {
    50: '#d1c271',
    500: '#b8a92f',
    950: '#000000',
  },
}
SCSS
$custom: #b8a92f;
$custom-light: #d1c271;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a92f",
  "rgb": {
    "r": 184,
    "g": 169,
    "b": 47
  },
  "hsl": {
    "h": 53.431,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.72646,
    "c": 0.13688,
    "h": 102.1
  },
  "luminance": 0.38772
}

Semantic roles & 50–950 ramp

primary
#B8A92F
secondary
#7B83C8
accent
#57E245
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8A92F

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

Preview Lab → · Contrast checker → · Palette generator →

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