#B7AB3D#B7AB3D

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

Color values

HEX#B7AB3D
RGBrgb(183, 171, 61)
HSLhsl(54, 50%, 48%)
HSVhsv(54, 67%, 72%)
CMYKcmyk(0%, 6.6%, 66.7%, 28.2%)
CIE-LABlab(69.13, -8.80, 55.94)
CIE-LCHlch(69.13, 56.63, 98.94°)
OKLaboklab(73.09% -0.0292 0.126)
OKLCHoklch(73.09% 0.129 103.1)
XYZxyz(34.9351, 39.5314, 10.2041)
Luminance0.3953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AB3D #3D49B7
analogous
#B76E3D #B7AB3D #86B73D
triadic
#B7AB3D #3DB7AB #AB3DB7
tetradic
#B7AB3D #3DB76E #3D49B7 #B73D86
square
#B7AB3D #3DB76E #3D49B7 #B73D86
split-complementary
#B7AB3D #3D86B7 #6E3DB7
monochromatic
#5B551E #89802E #B7AB3D #CCC265 #DBD493

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7AB3D#FFFFFF#000000##000000
##B7AB3D1.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)
#BAA62E
Deuteranopia (green-blind)
#BEAB44
Tritanopia (blue-blind)
#C49F94
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b7ab3d;
/* rgb */ color: rgb(183, 171, 61);
/* oklch */ color: oklch(73.1% 0.129 103.1);
Tailwind
colors: {
  custom: {
    50: '#d0c378',
    500: '#b7ab3d',
    950: '#000000',
  },
}
SCSS
$custom: #b7ab3d;
$custom-light: #d0c378;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ab3d",
  "rgb": {
    "r": 183,
    "g": 171,
    "b": 61
  },
  "hsl": {
    "h": 54.098,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.7309,
    "c": 0.12937,
    "h": 103.1
  },
  "luminance": 0.3953
}

Semantic roles & 50–950 ramp

primary
#B7AB3D
secondary
#898FC6
accent
#5CDA4E
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B7AB3D

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

Preview Lab → · Contrast checker → · Palette generator →

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