#B7A345#B7A345

#B7A345 is a light, moderate yellow. Relative luminance 0.367; OKLCH L 71.5% C 0.116 H 97.3°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#B7A345
RGBrgb(183, 163, 69)
HSLhsl(49, 45%, 49%)
HSVhsv(49, 62%, 72%)
CMYKcmyk(0%, 10.9%, 62.3%, 28.2%)
CIE-LABlab(67.05, -4.06, 50.21)
CIE-LCHlch(67.05, 50.38, 94.63°)
OKLaboklab(71.46% -0.0148 0.1151)
OKLCHoklch(71.46% 0.116 97.3)
XYZxyz(33.7012, 36.6929, 10.9363)
Luminance0.3669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A345 #4559B7
analogous
#B76A45 #B7A345 #92B745
triadic
#B7A345 #45B7A3 #A345B7
tetradic
#B7A345 #45B76A #4559B7 #B74592
square
#B7A345 #45B76A #4559B7 #B74592
split-complementary
#B7A345 #4592B7 #6A45B7
monochromatic
#5E5423 #8B7B34 #B7A345 #C9B970 #DACF9D

Accessibility & contrast

On white

2.52
#B7A345 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#B7A345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A345
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A345#FFFFFF#000000##000000
##B7A3451.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F3B
Deuteranopia (green-blind)
#B7A64A
Tritanopia (blue-blind)
#C5988F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b7a345;
/* rgb */ color: rgb(183, 163, 69);
/* oklch */ color: oklch(71.5% 0.116 97.3);
Tailwind
colors: {
  custom: {
    50: '#cfbe7c',
    500: '#b7a345',
    950: '#000000',
  },
}
SCSS
$custom: #b7a345;
$custom-light: #cfbe7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a345",
  "rgb": {
    "r": 183,
    "g": 163,
    "b": 69
  },
  "hsl": {
    "h": 49.474,
    "s": 45.238,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71455,
    "c": 0.11605,
    "h": 97.3
  },
  "luminance": 0.36691
}

Semantic roles & 50–950 ramp

primary
#B7A345
secondary
#929BC6
accent
#6AD553
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B7A345

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

Preview Lab → · Contrast checker → · Palette generator →

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