#B7A146#B7A146

#B7A146 is a light, moderate yellow. Relative luminance 0.360; OKLCH L 71.0% C 0.114 H 95.8°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#B7A146
RGBrgb(183, 161, 70)
HSLhsl(48, 45%, 50%)
HSVhsv(48, 62%, 72%)
CMYKcmyk(0%, 12%, 61.7%, 28.2%)
CIE-LABlab(66.52, -2.93, 49.17)
CIE-LCHlch(66.52, 49.26, 93.41°)
OKLaboklab(71.04% -0.0114 0.113)
OKLCHoklch(71.04% 0.114 95.8)
XYZxyz(33.3802, 36.0008, 10.9838)
Luminance0.3600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A146 #465CB7
analogous
#B76946 #B7A146 #94B746
triadic
#B7A146 #46B7A1 #A146B7
tetradic
#B7A146 #46B769 #465CB7 #B74694
square
#B7A146 #46B769 #465CB7 #B74694
split-complementary
#B7A146 #4694B7 #6946B7
monochromatic
#5E5324 #8B7A35 #B7A146 #C9B871 #DACE9E

Accessibility & contrast

On white

2.56
#B7A146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#B7A146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A146
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A146#FFFFFF#000000##000000
##B7A1461.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E3C
Deuteranopia (green-blind)
#B6A54A
Tritanopia (blue-blind)
#C5968D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b7a146;
/* rgb */ color: rgb(183, 161, 70);
/* oklch */ color: oklch(71.0% 0.114 95.8);
Tailwind
colors: {
  custom: {
    50: '#cfbc7d',
    500: '#b7a146',
    950: '#000000',
  },
}
SCSS
$custom: #b7a146;
$custom-light: #cfbc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a146",
  "rgb": {
    "r": 183,
    "g": 161,
    "b": 70
  },
  "hsl": {
    "h": 48.319,
    "s": 44.664,
    "l": 49.608
  },
  "oklch": {
    "l": 0.71042,
    "c": 0.11361,
    "h": 95.8
  },
  "luminance": 0.35999
}

Semantic roles & 50–950 ramp

primary
#B7A146
secondary
#939DC6
accent
#6DD453
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B7A146

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

Preview Lab → · Contrast checker → · Palette generator →

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