#B7AB3F#B7AB3F

#B7AB3F is a light, vivid yellow. Relative luminance 0.396; OKLCH L 73.1% C 0.128 H 103.0°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#B7AB3F
RGBrgb(183, 171, 63)
HSLhsl(54, 49%, 48%)
HSVhsv(54, 66%, 72%)
CMYKcmyk(0%, 6.6%, 65.6%, 28.2%)
CIE-LABlab(69.15, -8.68, 55.12)
CIE-LCHlch(69.15, 55.80, 98.95°)
OKLaboklab(73.11% -0.0287 0.1246)
OKLCHoklch(73.11% 0.128 103)
XYZxyz(34.9899, 39.5534, 10.4931)
Luminance0.3955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AB3F #3F4BB7
analogous
#B76F3F #B7AB3F #87B73F
triadic
#B7AB3F #3FB7AB #AB3FB7
tetradic
#B7AB3F #3FB76F #3F4BB7 #B73F87
square
#B7AB3F #3FB76F #3F4BB7 #B73F87
split-complementary
#B7AB3F #3F87B7 #6F3FB7
monochromatic
#5C5620 #89802F #B7AB3F #CBC168 #DBD496

Accessibility & contrast

On white

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

On black

8.91
#B7AB3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AB3F
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AB3F#FFFFFF#000000##000000
##B7AB3F1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA631
Deuteranopia (green-blind)
#BEAB45
Tritanopia (blue-blind)
#C4A095
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b7ab3f;
/* rgb */ color: rgb(183, 171, 63);
/* oklch */ color: oklch(73.1% 0.128 103.0);
Tailwind
colors: {
  custom: {
    50: '#d0c379',
    500: '#b7ab3f',
    950: '#000000',
  },
}
SCSS
$custom: #b7ab3f;
$custom-light: #d0c379;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ab3f",
  "rgb": {
    "r": 183,
    "g": 171,
    "b": 63
  },
  "hsl": {
    "h": 54,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.73108,
    "c": 0.12786,
    "h": 103
  },
  "luminance": 0.39552
}

Semantic roles & 50–950 ramp

primary
#B7AB3F
secondary
#8B91C6
accent
#5DD84F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B7AB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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