#B7A445#B7A445

#B7A445 is a light, moderate yellow. Relative luminance 0.370; OKLCH L 71.7% C 0.117 H 98.0°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#B7A445
RGBrgb(183, 164, 69)
HSLhsl(50, 45%, 49%)
HSVhsv(50, 62%, 72%)
CMYKcmyk(0%, 10.4%, 62.3%, 28.2%)
CIE-LABlab(67.31, -4.60, 50.51)
CIE-LCHlch(67.31, 50.72, 95.20°)
OKLaboklab(71.67% -0.0163 0.1157)
OKLCHoklch(71.67% 0.117 98)
XYZxyz(33.8795, 37.0494, 10.9958)
Luminance0.3705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A445 #4558B7
analogous
#B76B45 #B7A445 #91B745
triadic
#B7A445 #45B7A4 #A445B7
tetradic
#B7A445 #45B76B #4558B7 #B74591
square
#B7A445 #45B76B #4558B7 #B74591
split-complementary
#B7A445 #4591B7 #6B45B7
monochromatic
#5E5423 #8B7C34 #B7A445 #C9BA70 #DAD09D

Accessibility & contrast

On white

2.50
#B7A445 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#B7A445 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A445
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A445#FFFFFF#000000##000000
##B7A4451.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A03A
Deuteranopia (green-blind)
#B8A74A
Tritanopia (blue-blind)
#C59990
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b7a445;
/* rgb */ color: rgb(183, 164, 69);
/* oklch */ color: oklch(71.7% 0.117 98.0);
Tailwind
colors: {
  custom: {
    50: '#cfbe7d',
    500: '#b7a445',
    950: '#000000',
  },
}
SCSS
$custom: #b7a445;
$custom-light: #cfbe7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a445",
  "rgb": {
    "r": 183,
    "g": 164,
    "b": 69
  },
  "hsl": {
    "h": 50,
    "s": 45.238,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71668,
    "c": 0.11688,
    "h": 98
  },
  "luminance": 0.37048
}

Semantic roles & 50–950 ramp

primary
#B7A445
secondary
#929AC6
accent
#69D553
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B7A445

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

Preview Lab → · Contrast checker → · Palette generator →

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