#B9A134#B9A134

#B9A134 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 71.1% C 0.128 H 96.4°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#B9A134
RGBrgb(185, 161, 52)
HSLhsl(49, 56%, 46%)
HSVhsv(49, 72%, 73%)
CMYKcmyk(0%, 13%, 71.9%, 27.5%)
CIE-LABlab(66.56, -3.12, 57.04)
CIE-LCHlch(66.56, 57.13, 93.13°)
OKLaboklab(71.07% -0.0142 0.1267)
OKLCHoklch(71.07% 0.128 96.4)
XYZxyz(33.3740, 36.0537, 8.4493)
Luminance0.3605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A134 #344CB9
analogous
#B95F34 #B9A134 #8FB934
triadic
#B9A134 #34B9A1 #A134B9
tetradic
#B9A134 #34B95F #344CB9 #B9348F
square
#B9A134 #34B95F #344CB9 #B9348F
split-complementary
#B9A134 #348FB9 #5F34B9
monochromatic
#594E19 #897727 #B9A134 #D1BB5A #DECF89

Accessibility & contrast

On white

2.56
#B9A134 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#B9A134 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A134
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A134#FFFFFF#000000##000000
##B9A1341.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D23
Deuteranopia (green-blind)
#B8A53A
Tritanopia (blue-blind)
#C8958B
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b9a134;
/* rgb */ color: rgb(185, 161, 52);
/* oklch */ color: oklch(71.1% 0.128 96.4);
Tailwind
colors: {
  custom: {
    50: '#d2bc72',
    500: '#b9a134',
    950: '#000000',
  },
}
SCSS
$custom: #b9a134;
$custom-light: #d2bc72;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a134",
  "rgb": {
    "r": 185,
    "g": 161,
    "b": 52
  },
  "hsl": {
    "h": 49.173,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71071,
    "c": 0.1275,
    "h": 96.4
  },
  "luminance": 0.36052
}

Semantic roles & 50–950 ramp

primary
#B9A134
secondary
#818EC8
accent
#64DF48
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B9A134

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

Preview Lab → · Contrast checker → · Palette generator →

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