#B7A747#B7A747

#B7A747 is a light, moderate yellow. Relative luminance 0.382; OKLCH L 72.3% C 0.118 H 99.9°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#B7A747
RGBrgb(183, 167, 71)
HSLhsl(51, 44%, 50%)
HSVhsv(51, 61%, 72%)
CMYKcmyk(0%, 8.7%, 61.2%, 28.2%)
CIE-LABlab(68.14, -6.05, 50.50)
CIE-LCHlch(68.14, 50.86, 96.83°)
OKLaboklab(72.33% -0.0202 0.116)
OKLCHoklch(72.33% 0.118 99.9)
XYZxyz(34.4858, 38.1611, 11.5093)
Luminance0.3816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A747 #4757B7
analogous
#B76F47 #B7A747 #8FB747
triadic
#B7A747 #47B7A7 #A747B7
tetradic
#B7A747 #47B76F #4757B7 #B7478F
square
#B7A747 #47B76F #4757B7 #B7478F
split-complementary
#B7A747 #478FB7 #6F47B7
monochromatic
#5F5725 #8B7F36 #B7A747 #C9BC73 #DAD19F

Accessibility & contrast

On white

2.43
#B7A747 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#B7A747 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A747
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A747#FFFFFF#000000##000000
##B7A7471.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A33C
Deuteranopia (green-blind)
#BAA94C
Tritanopia (blue-blind)
#C49C92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b7a747;
/* rgb */ color: rgb(183, 167, 71);
/* oklch */ color: oklch(72.3% 0.118 99.9);
Tailwind
colors: {
  custom: {
    50: '#cfc07e',
    500: '#b7a747',
    950: '#000000',
  },
}
SCSS
$custom: #b7a747;
$custom-light: #cfc07e;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a747",
  "rgb": {
    "r": 183,
    "g": 167,
    "b": 71
  },
  "hsl": {
    "h": 51.429,
    "s": 44.094,
    "l": 49.804
  },
  "oklch": {
    "l": 0.72327,
    "c": 0.11776,
    "h": 99.9
  },
  "luminance": 0.3816
}

Semantic roles & 50–950 ramp

primary
#B7A747
secondary
#949BC6
accent
#66D454
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B7A747

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

Preview Lab → · Contrast checker → · Palette generator →

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