#B7A142#B7A142

#B7A142 is a light, moderate yellow. Relative luminance 0.359; OKLCH L 71.0% C 0.117 H 96.2°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#B7A142
RGBrgb(183, 161, 66)
HSLhsl(49, 47%, 49%)
HSVhsv(49, 64%, 72%)
CMYKcmyk(0%, 12%, 63.9%, 28.2%)
CIE-LABlab(66.48, -3.20, 50.96)
CIE-LCHlch(66.48, 51.06, 93.59°)
OKLaboklab(71% -0.0127 0.1163)
OKLCHoklch(71% 0.117 96.2)
XYZxyz(33.2582, 35.9520, 10.3408)
Luminance0.3595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A142 #4258B7
analogous
#B76742 #B7A142 #93B742
triadic
#B7A142 #42B7A1 #A142B7
tetradic
#B7A142 #42B767 #4258B7 #B74293
square
#B7A142 #42B767 #4258B7 #B74293
split-complementary
#B7A142 #4293B7 #6742B7
monochromatic
#5D5222 #8A7932 #B7A142 #CAB86C #DACE99

Accessibility & contrast

On white

2.56
#B7A142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#B7A142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A142
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A142#FFFFFF#000000##000000
##B7A1421.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E37
Deuteranopia (green-blind)
#B6A547
Tritanopia (blue-blind)
#C5958D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b7a142;
/* rgb */ color: rgb(183, 161, 66);
/* oklch */ color: oklch(71.0% 0.117 96.2);
Tailwind
colors: {
  custom: {
    50: '#d0bc7a',
    500: '#b7a142',
    950: '#000000',
  },
}
SCSS
$custom: #b7a142;
$custom-light: #d0bc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a142",
  "rgb": {
    "r": 183,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 48.718,
    "s": 46.988,
    "l": 48.824
  },
  "oklch": {
    "l": 0.71001,
    "c": 0.11696,
    "h": 96.2
  },
  "luminance": 0.3595
}

Semantic roles & 50–950 ramp

primary
#B7A142
secondary
#8F99C6
accent
#6AD751
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A142

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

Preview Lab → · Contrast checker → · Palette generator →

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