#B7A341#B7A341

#B7A341 is a light, moderate yellow. Relative luminance 0.366; OKLCH L 71.4% C 0.119 H 97.7°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#B7A341
RGBrgb(183, 163, 65)
HSLhsl(50, 48%, 49%)
HSVhsv(50, 64%, 72%)
CMYKcmyk(0%, 10.9%, 64.5%, 28.2%)
CIE-LABlab(67.01, -4.33, 51.98)
CIE-LCHlch(67.01, 52.16, 94.76°)
OKLaboklab(71.41% -0.016 0.1183)
OKLCHoklch(71.41% 0.119 97.7)
XYZxyz(33.5812, 36.6449, 10.3043)
Luminance0.3664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A341 #4155B7
analogous
#B76841 #B7A341 #90B741
triadic
#B7A341 #41B7A3 #A341B7
tetradic
#B7A341 #41B768 #4155B7 #B74190
square
#B7A341 #41B768 #4155B7 #B74190
split-complementary
#B7A341 #4190B7 #6841B7
monochromatic
#5D5321 #8A7B31 #B7A341 #CABA6B #DACF98

Accessibility & contrast

On white

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

On black

8.33
#B7A341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A341
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A341#FFFFFF#000000##000000
##B7A3411.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F35
Deuteranopia (green-blind)
#B8A646
Tritanopia (blue-blind)
#C5978E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b7a341;
/* rgb */ color: rgb(183, 163, 65);
/* oklch */ color: oklch(71.4% 0.119 97.7);
Tailwind
colors: {
  custom: {
    50: '#d0be7a',
    500: '#b7a341',
    950: '#000000',
  },
}
SCSS
$custom: #b7a341;
$custom-light: #d0be7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a341",
  "rgb": {
    "r": 183,
    "g": 163,
    "b": 65
  },
  "hsl": {
    "h": 49.831,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.71415,
    "c": 0.11935,
    "h": 97.7
  },
  "luminance": 0.36643
}

Semantic roles & 50–950 ramp

primary
#B7A341
secondary
#8E97C6
accent
#67D751
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A341

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

Preview Lab → · Contrast checker → · Palette generator →

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