#B7AB33#B7AB33

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

Color values

HEX#B7AB33
RGBrgb(183, 171, 51)
HSLhsl(55, 56%, 46%)
HSVhsv(55, 72%, 72%)
CMYKcmyk(0%, 6.6%, 72.1%, 28.2%)
CIE-LABlab(69.06, -9.33, 59.81)
CIE-LCHlch(69.06, 60.54, 98.87°)
OKLaboklab(73.01% -0.0318 0.1325)
OKLCHoklch(73.01% 0.136 103.5)
XYZxyz(34.6904, 39.4335, 8.9155)
Luminance0.3943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AB33 #333FB7
analogous
#B76933 #B7AB33 #81B733
triadic
#B7AB33 #33B7AB #AB33B7
tetradic
#B7AB33 #33B769 #333FB7 #B73381
square
#B7AB33 #33B769 #333FB7 #B73381
split-complementary
#B7AB33 #3381B7 #6933B7
monochromatic
#575218 #877E26 #B7AB33 #D0C557 #DED687

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7AB33#FFFFFF#000000##000000
##B7AB331.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)
#BBA51F
Deuteranopia (green-blind)
#BEAB3B
Tritanopia (blue-blind)
#C59F93
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b7ab33;
/* rgb */ color: rgb(183, 171, 51);
/* oklch */ color: oklch(73.0% 0.136 103.5);
Tailwind
colors: {
  custom: {
    50: '#d0c373',
    500: '#b7ab33',
    950: '#000000',
  },
}
SCSS
$custom: #b7ab33;
$custom-light: #d0c373;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ab33",
  "rgb": {
    "r": 183,
    "g": 171,
    "b": 51
  },
  "hsl": {
    "h": 54.545,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73012,
    "c": 0.13624,
    "h": 103.5
  },
  "luminance": 0.39432
}

Semantic roles & 50–950 ramp

primary
#B7AB33
secondary
#7F85C7
accent
#56E048
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7AB33

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

Preview Lab → · Contrast checker → · Palette generator →

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