#B9A434#B9A434

#B9A434 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.7% C 0.130 H 98.3°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#B9A434
RGBrgb(185, 164, 52)
HSLhsl(51, 56%, 46%)
HSVhsv(51, 72%, 73%)
CMYKcmyk(0%, 11.4%, 71.9%, 27.5%)
CIE-LABlab(67.36, -4.72, 57.83)
CIE-LCHlch(67.36, 58.02, 94.67°)
OKLaboklab(71.71% -0.0188 0.1284)
OKLCHoklch(71.71% 0.13 98.3)
XYZxyz(33.9045, 37.1148, 8.6262)
Luminance0.3711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A434 #3449B9
analogous
#B96234 #B9A434 #8CB934
triadic
#B9A434 #34B9A4 #A434B9
tetradic
#B9A434 #34B962 #3449B9 #B9348C
square
#B9A434 #34B962 #3449B9 #B9348C
split-complementary
#B9A434 #348CB9 #6234B9
monochromatic
#594F19 #897A27 #B9A434 #D1BE5A #DED189

Accessibility & contrast

On white

2.49
#B9A434 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#B9A434 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A434
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A434#FFFFFF#000000##000000
##B9A4341.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A022
Deuteranopia (green-blind)
#BAA73B
Tritanopia (blue-blind)
#C8988E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b9a434;
/* rgb */ color: rgb(185, 164, 52);
/* oklch */ color: oklch(71.7% 0.130 98.3);
Tailwind
colors: {
  custom: {
    50: '#d2be73',
    500: '#b9a434',
    950: '#000000',
  },
}
SCSS
$custom: #b9a434;
$custom-light: #d2be73;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a434",
  "rgb": {
    "r": 185,
    "g": 164,
    "b": 52
  },
  "hsl": {
    "h": 50.526,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71707,
    "c": 0.12974,
    "h": 98.3
  },
  "luminance": 0.37113
}

Semantic roles & 50–950 ramp

primary
#B9A434
secondary
#818CC8
accent
#60DF48
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B9A434

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

Preview Lab → · Contrast checker → · Palette generator →

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