#B7AB46#B7AB46

#B7AB46 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 73.2% C 0.122 H 102.6°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#B7AB46
RGBrgb(183, 171, 70)
HSLhsl(54, 45%, 50%)
HSVhsv(54, 62%, 72%)
CMYKcmyk(0%, 6.6%, 61.7%, 28.2%)
CIE-LABlab(69.21, -8.23, 52.13)
CIE-LCHlch(69.21, 52.77, 98.97°)
OKLaboklab(73.17% -0.0266 0.1193)
OKLCHoklch(73.17% 0.122 102.6)
XYZxyz(35.1982, 39.6366, 11.5897)
Luminance0.3963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AB46 #4652B7
analogous
#B77246 #B7AB46 #8BB746
triadic
#B7AB46 #46B7AB #AB46B7
tetradic
#B7AB46 #46B772 #4652B7 #B7468B
square
#B7AB46 #46B772 #4652B7 #B7468B
split-complementary
#B7AB46 #468BB7 #7246B7
monochromatic
#5E5824 #8B8235 #B7AB46 #C9C071 #DAD39E

Accessibility & contrast

On white

2.35
#B7AB46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#B7AB46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AB46
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AB46#FFFFFF#000000##000000
##B7AB461.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7ab46;
/* rgb */ color: rgb(183, 171, 70);
/* oklch */ color: oklch(73.2% 0.122 102.6);
Tailwind
colors: {
  custom: {
    50: '#cfc37e',
    500: '#b7ab46',
    950: '#000000',
  },
}
SCSS
$custom: #b7ab46;
$custom-light: #cfc37e;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ab46",
  "rgb": {
    "r": 183,
    "g": 171,
    "b": 70
  },
  "hsl": {
    "h": 53.628,
    "s": 44.664,
    "l": 49.608
  },
  "oklch": {
    "l": 0.73174,
    "c": 0.12225,
    "h": 102.6
  },
  "luminance": 0.39635
}

Semantic roles & 50–950 ramp

primary
#B7AB46
secondary
#9398C6
accent
#61D453
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B7AB46

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

Preview Lab → · Contrast checker → · Palette generator →

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