#B9A435#B9A435

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

Color values

HEX#B9A435
RGBrgb(185, 164, 53)
HSLhsl(50, 55%, 47%)
HSVhsv(50, 71%, 73%)
CMYKcmyk(0%, 11.4%, 71.4%, 27.5%)
CIE-LABlab(67.37, -4.67, 57.45)
CIE-LCHlch(67.37, 57.64, 94.65°)
OKLaboklab(71.71% -0.0185 0.1278)
OKLCHoklch(71.71% 0.129 98.2)
XYZxyz(33.9273, 37.1239, 8.7460)
Luminance0.3712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A435 #354AB9
analogous
#B96235 #B9A435 #8CB935
triadic
#B9A435 #35B9A4 #A435B9
tetradic
#B9A435 #35B962 #354AB9 #B9358C
square
#B9A435 #35B962 #354AB9 #B9358C
split-complementary
#B9A435 #358CB9 #6235B9
monochromatic
#5A501A #897A27 #B9A435 #D0BD5B #DED08B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9A435#FFFFFF#000000##000000
##B9A4351.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)
#B4A024
Deuteranopia (green-blind)
#BAA73C
Tritanopia (blue-blind)
#C7988E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b9a435;
/* rgb */ color: rgb(185, 164, 53);
/* oklch */ color: oklch(71.7% 0.129 98.2);
Tailwind
colors: {
  custom: {
    50: '#d2be73',
    500: '#b9a435',
    950: '#000000',
  },
}
SCSS
$custom: #b9a435;
$custom-light: #d2be73;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a435",
  "rgb": {
    "r": 185,
    "g": 164,
    "b": 53
  },
  "hsl": {
    "h": 50.455,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71714,
    "c": 0.12908,
    "h": 98.2
  },
  "luminance": 0.37122
}

Semantic roles & 50–950 ramp

primary
#B9A435
secondary
#828DC8
accent
#61DF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B9A435

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

Preview Lab → · Contrast checker → · Palette generator →

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