#B7AB37#B7AB37

#B7AB37 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.0% C 0.134 H 103.3°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#B7AB37
RGBrgb(183, 171, 55)
HSLhsl(54, 54%, 47%)
HSVhsv(54, 70%, 72%)
CMYKcmyk(0%, 6.6%, 69.9%, 28.2%)
CIE-LABlab(69.09, -9.13, 58.31)
CIE-LCHlch(69.09, 59.02, 98.90°)
OKLaboklab(73.04% -0.0308 0.13)
OKLCHoklch(73.04% 0.134 103.3)
XYZxyz(34.7824, 39.4703, 9.4001)
Luminance0.3947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AB37 #3743B7
analogous
#B76B37 #B7AB37 #83B737
triadic
#B7AB37 #37B7AB #AB37B7
tetradic
#B7AB37 #37B76B #3743B7 #B73783
square
#B7AB37 #37B76B #3743B7 #B73783
split-complementary
#B7AB37 #3783B7 #6B37B7
monochromatic
#59531B #887F29 #B7AB37 #CEC45D #DCD58C

Accessibility & contrast

On white

2.36
#B7AB37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#B7AB37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AB37
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AB37#FFFFFF#000000##000000
##B7AB371.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA525
Deuteranopia (green-blind)
#BEAB3E
Tritanopia (blue-blind)
#C59F94
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b7ab37;
/* rgb */ color: rgb(183, 171, 55);
/* oklch */ color: oklch(73.0% 0.134 103.3);
Tailwind
colors: {
  custom: {
    50: '#d0c375',
    500: '#b7ab37',
    950: '#000000',
  },
}
SCSS
$custom: #b7ab37;
$custom-light: #d0c375;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ab37",
  "rgb": {
    "r": 183,
    "g": 171,
    "b": 55
  },
  "hsl": {
    "h": 54.375,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.73041,
    "c": 0.13363,
    "h": 103.3
  },
  "luminance": 0.39469
}

Semantic roles & 50–950 ramp

primary
#B7AB37
secondary
#8389C7
accent
#58DD4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7AB37

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

Preview Lab → · Contrast checker → · Palette generator →

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