#B7A147#B7A147

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

Color values

HEX#B7A147
RGBrgb(183, 161, 71)
HSLhsl(48, 44%, 50%)
HSVhsv(48, 61%, 72%)
CMYKcmyk(0%, 12%, 61.2%, 28.2%)
CIE-LABlab(66.53, -2.86, 48.72)
CIE-LCHlch(66.53, 48.80, 93.35°)
OKLaboklab(71.05% -0.0111 0.1122)
OKLCHoklch(71.05% 0.113 95.6)
XYZxyz(33.4121, 36.0135, 11.1514)
Luminance0.3601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A147 #475DB7
analogous
#B76947 #B7A147 #95B747
triadic
#B7A147 #47B7A1 #A147B7
tetradic
#B7A147 #47B769 #475DB7 #B74795
square
#B7A147 #47B769 #475DB7 #B74795
split-complementary
#B7A147 #4795B7 #6947B7
monochromatic
#5F5325 #8B7A36 #B7A147 #C9B873 #DACE9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7A147#FFFFFF#000000##000000
##B7A1471.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)
#B09E3D
Deuteranopia (green-blind)
#B6A54B
Tritanopia (blue-blind)
#C5968D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b7a147;
/* rgb */ color: rgb(183, 161, 71);
/* oklch */ color: oklch(71.1% 0.113 95.6);
Tailwind
colors: {
  custom: {
    50: '#cfbc7e',
    500: '#b7a147',
    950: '#000000',
  },
}
SCSS
$custom: #b7a147;
$custom-light: #cfbc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a147",
  "rgb": {
    "r": 183,
    "g": 161,
    "b": 71
  },
  "hsl": {
    "h": 48.214,
    "s": 44.094,
    "l": 49.804
  },
  "oklch": {
    "l": 0.71053,
    "c": 0.11274,
    "h": 95.6
  },
  "luminance": 0.36012
}

Semantic roles & 50–950 ramp

primary
#B7A147
secondary
#949EC6
accent
#6DD454
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B7A147

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

Preview Lab → · Contrast checker → · Palette generator →

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