#B7AB36#B7AB36

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

Color values

HEX#B7AB36
RGBrgb(183, 171, 54)
HSLhsl(54, 54%, 46%)
HSVhsv(54, 70%, 72%)
CMYKcmyk(0%, 6.6%, 70.5%, 28.2%)
CIE-LABlab(69.08, -9.18, 58.70)
CIE-LCHlch(69.08, 59.41, 98.89°)
OKLaboklab(73.03% -0.0311 0.1306)
OKLCHoklch(73.03% 0.134 103.4)
XYZxyz(34.7587, 39.4609, 9.2751)
Luminance0.3946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AB36 #3642B7
analogous
#B76B36 #B7AB36 #83B736
triadic
#B7AB36 #36B7AB #AB36B7
tetradic
#B7AB36 #36B76B #3642B7 #B73683
square
#B7AB36 #36B76B #3642B7 #B73683
split-complementary
#B7AB36 #3683B7 #6B36B7
monochromatic
#58531A #887F28 #B7AB36 #CFC45B #DDD58B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7AB36#FFFFFF#000000##000000
##B7AB361.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)
#BAA524
Deuteranopia (green-blind)
#BEAB3E
Tritanopia (blue-blind)
#C59F94
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b7ab36;
/* rgb */ color: rgb(183, 171, 54);
/* oklch */ color: oklch(73.0% 0.134 103.4);
Tailwind
colors: {
  custom: {
    50: '#d0c374',
    500: '#b7ab36',
    950: '#000000',
  },
}
SCSS
$custom: #b7ab36;
$custom-light: #d0c374;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ab36",
  "rgb": {
    "r": 183,
    "g": 171,
    "b": 54
  },
  "hsl": {
    "h": 54.419,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.73034,
    "c": 0.13429,
    "h": 103.4
  },
  "luminance": 0.39459
}

Semantic roles & 50–950 ramp

primary
#B7AB36
secondary
#8288C7
accent
#58DE4A
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7AB36

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

Preview Lab → · Contrast checker → · Palette generator →

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