#B7A045#B7A045

#B7A045 is a light, moderate yellow. Relative luminance 0.356; OKLCH L 70.8% C 0.114 H 95.1°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#B7A045
RGBrgb(183, 160, 69)
HSLhsl(48, 45%, 49%)
HSVhsv(48, 62%, 72%)
CMYKcmyk(0%, 12.6%, 62.3%, 28.2%)
CIE-LABlab(66.24, -2.46, 49.33)
CIE-LCHlch(66.24, 49.39, 92.85°)
OKLaboklab(70.82% -0.0102 0.1132)
OKLCHoklch(70.82% 0.114 95.1)
XYZxyz(33.1749, 35.6402, 10.7609)
Luminance0.3564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A045 #455CB7
analogous
#B76745 #B7A045 #95B745
triadic
#B7A045 #45B7A0 #A045B7
tetradic
#B7A045 #45B767 #455CB7 #B74595
square
#B7A045 #45B767 #455CB7 #B74595
split-complementary
#B7A045 #4595B7 #6745B7
monochromatic
#5E5223 #8B7934 #B7A045 #C9B770 #DACD9D

Accessibility & contrast

On white

2.58
#B7A045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#B7A045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A045
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A045#FFFFFF#000000##000000
##B7A0451.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D3B
Deuteranopia (green-blind)
#B5A449
Tritanopia (blue-blind)
#C5958C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b7a045;
/* rgb */ color: rgb(183, 160, 69);
/* oklch */ color: oklch(70.8% 0.114 95.1);
Tailwind
colors: {
  custom: {
    50: '#cfbb7c',
    500: '#b7a045',
    950: '#000000',
  },
}
SCSS
$custom: #b7a045;
$custom-light: #cfbb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a045",
  "rgb": {
    "r": 183,
    "g": 160,
    "b": 69
  },
  "hsl": {
    "h": 47.895,
    "s": 45.238,
    "l": 49.412
  },
  "oklch": {
    "l": 0.70821,
    "c": 0.11369,
    "h": 95.1
  },
  "luminance": 0.35639
}

Semantic roles & 50–950 ramp

primary
#B7A045
secondary
#929CC6
accent
#6DD553
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14110A
muted
#83807C

Preview Lab

Preview with #B7A045

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

Preview Lab → · Contrast checker → · Palette generator →

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