#B7AB3E#B7AB3E

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

Color values

HEX#B7AB3E
RGBrgb(183, 171, 62)
HSLhsl(54, 49%, 48%)
HSVhsv(54, 66%, 72%)
CMYKcmyk(0%, 6.6%, 66.1%, 28.2%)
CIE-LABlab(69.14, -8.74, 55.53)
CIE-LCHlch(69.14, 56.21, 98.94°)
OKLaboklab(73.1% -0.0289 0.1253)
OKLCHoklch(73.1% 0.129 103)
XYZxyz(34.9622, 39.5423, 10.3473)
Luminance0.3954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AB3E #3E4AB7
analogous
#B76F3E #B7AB3E #86B73E
triadic
#B7AB3E #3EB7AB #AB3EB7
tetradic
#B7AB3E #3EB76F #3E4AB7 #B73E86
square
#B7AB3E #3EB76F #3E4AB7 #B73E86
split-complementary
#B7AB3E #3E86B7 #6F3EB7
monochromatic
#5C561F #89802F #B7AB3E #CBC167 #DBD494

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7AB3E#FFFFFF#000000##000000
##B7AB3E1.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)
#BAA630
Deuteranopia (green-blind)
#BEAB44
Tritanopia (blue-blind)
#C49F95
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b7ab3e;
/* rgb */ color: rgb(183, 171, 62);
/* oklch */ color: oklch(73.1% 0.129 103.0);
Tailwind
colors: {
  custom: {
    50: '#d0c379',
    500: '#b7ab3e',
    950: '#000000',
  },
}
SCSS
$custom: #b7ab3e;
$custom-light: #d0c379;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ab3e",
  "rgb": {
    "r": 183,
    "g": 171,
    "b": 62
  },
  "hsl": {
    "h": 54.05,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73099,
    "c": 0.12862,
    "h": 103
  },
  "luminance": 0.39541
}

Semantic roles & 50–950 ramp

primary
#B7AB3E
secondary
#8A90C6
accent
#5DD94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B7AB3E

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

Preview Lab → · Contrast checker → · Palette generator →

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