#B7A246#B7A246

#B7A246 is a light, moderate yellow. Relative luminance 0.363; OKLCH L 71.3% C 0.114 H 96.5°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#B7A246
RGBrgb(183, 162, 70)
HSLhsl(49, 45%, 50%)
HSVhsv(49, 62%, 72%)
CMYKcmyk(0%, 11.5%, 61.7%, 28.2%)
CIE-LABlab(66.79, -3.46, 49.47)
CIE-LCHlch(66.79, 49.59, 94.00°)
OKLaboklab(71.25% -0.0129 0.1137)
OKLCHoklch(71.25% 0.114 96.5)
XYZxyz(33.5557, 36.3517, 11.0422)
Luminance0.3635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A246 #465BB7
analogous
#B76A46 #B7A246 #93B746
triadic
#B7A246 #46B7A2 #A246B7
tetradic
#B7A246 #46B76A #465BB7 #B74693
square
#B7A246 #46B76A #465BB7 #B74693
split-complementary
#B7A246 #4693B7 #6A46B7
monochromatic
#5E5424 #8B7B35 #B7A246 #C9B971 #DACF9E

Accessibility & contrast

On white

2.54
#B7A246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#B7A246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A246
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A246#FFFFFF#000000##000000
##B7A2461.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F3C
Deuteranopia (green-blind)
#B7A54A
Tritanopia (blue-blind)
#C5978E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b7a246;
/* rgb */ color: rgb(183, 162, 70);
/* oklch */ color: oklch(71.3% 0.114 96.5);
Tailwind
colors: {
  custom: {
    50: '#cfbd7d',
    500: '#b7a246',
    950: '#000000',
  },
}
SCSS
$custom: #b7a246;
$custom-light: #cfbd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a246",
  "rgb": {
    "r": 183,
    "g": 162,
    "b": 70
  },
  "hsl": {
    "h": 48.85,
    "s": 44.664,
    "l": 49.608
  },
  "oklch": {
    "l": 0.71254,
    "c": 0.1144,
    "h": 96.5
  },
  "luminance": 0.3635
}

Semantic roles & 50–950 ramp

primary
#B7A246
secondary
#939CC6
accent
#6BD453
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B7A246

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

Preview Lab → · Contrast checker → · Palette generator →

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