#B8A92B#B8A92B

#B8A92B 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#B8A92B
RGBrgb(184, 169, 43)
HSLhsl(54, 62%, 45%)
HSVhsv(54, 77%, 72%)
CMYKcmyk(0%, 8.2%, 76.6%, 27.8%)
CIE-LABlab(68.56, -8.20, 62.20)
CIE-LCHlch(68.56, 62.74, 97.51°)
OKLaboklab(72.62% -0.0295 0.136)
OKLCHoklch(72.62% 0.139 102.2)
XYZxyz(34.3928, 38.7422, 7.9514)
Luminance0.3874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A92B #2B3AB8
analogous
#B8632B #B8A92B #81B82B
triadic
#B8A92B #2BB8A9 #A92BB8
tetradic
#B8A92B #2BB863 #2B3AB8 #B82B81
square
#B8A92B #2BB863 #2B3AB8 #B82B81
split-complementary
#B8A92B #2B81B8 #632BB8
monochromatic
#554E14 #867B1F #B8A92B #D5C64B #E1D67D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A92B#FFFFFF#000000##000000
##B8A92B1.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)
#B9A40E
Deuteranopia (green-blind)
#BEAA34
Tritanopia (blue-blind)
#C69D91
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a92b;
/* rgb */ color: rgb(184, 169, 43);
/* oklch */ color: oklch(72.6% 0.139 102.2);
Tailwind
colors: {
  custom: {
    50: '#d1c26f',
    500: '#b8a92b',
    950: '#000000',
  },
}
SCSS
$custom: #b8a92b;
$custom-light: #d1c26f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a92b",
  "rgb": {
    "r": 184,
    "g": 169,
    "b": 43
  },
  "hsl": {
    "h": 53.617,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72621,
    "c": 0.13914,
    "h": 102.2
  },
  "luminance": 0.38741
}

Semantic roles & 50–950 ramp

primary
#B8A92B
secondary
#767FC9
accent
#54E543
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8A92B

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

Preview Lab → · Contrast checker → · Palette generator →

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