#B9A437#B9A437

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

Color values

HEX#B9A437
RGBrgb(185, 164, 55)
HSLhsl(50, 54%, 47%)
HSVhsv(50, 70%, 73%)
CMYKcmyk(0%, 11.4%, 70.3%, 27.5%)
CIE-LABlab(67.38, -4.57, 56.67)
CIE-LCHlch(67.38, 56.85, 94.61°)
OKLaboklab(71.73% -0.018 0.1265)
OKLCHoklch(71.73% 0.128 98.1)
XYZxyz(33.9742, 37.1427, 8.9934)
Luminance0.3714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A437 #374CB9
analogous
#B96337 #B9A437 #8DB937
triadic
#B9A437 #37B9A4 #A437B9
tetradic
#B9A437 #37B963 #374CB9 #B9378D
square
#B9A437 #37B963 #374CB9 #B9378D
split-complementary
#B9A437 #378DB9 #6337B9
monochromatic
#5B501B #8A7A29 #B9A437 #CFBD5E #DDD08D

Accessibility & contrast

On white

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

On black

8.43
#B9A437 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A437
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A437#FFFFFF#000000##000000
##B9A4371.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A027
Deuteranopia (green-blind)
#BAA73D
Tritanopia (blue-blind)
#C7988E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b9a437;
/* rgb */ color: rgb(185, 164, 55);
/* oklch */ color: oklch(71.7% 0.128 98.1);
Tailwind
colors: {
  custom: {
    50: '#d2be74',
    500: '#b9a437',
    950: '#000000',
  },
}
SCSS
$custom: #b9a437;
$custom-light: #d2be74;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a437",
  "rgb": {
    "r": 185,
    "g": 164,
    "b": 55
  },
  "hsl": {
    "h": 50.308,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.7173,
    "c": 0.12773,
    "h": 98.1
  },
  "luminance": 0.37141
}

Semantic roles & 50–950 ramp

primary
#B9A437
secondary
#848FC8
accent
#62DE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #B9A437

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

Preview Lab → · Contrast checker → · Palette generator →

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