#B7A442#B7A442

#B7A442 is a light, moderate yellow. Relative luminance 0.370; OKLCH L 71.6% C 0.119 H 98.3°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#B7A442
RGBrgb(183, 164, 66)
HSLhsl(50, 47%, 49%)
HSVhsv(50, 64%, 72%)
CMYKcmyk(0%, 10.4%, 63.9%, 28.2%)
CIE-LABlab(67.29, -4.80, 51.83)
CIE-LCHlch(67.29, 52.05, 95.29°)
OKLaboklab(71.64% -0.0172 0.1181)
OKLCHoklch(71.64% 0.119 98.3)
XYZxyz(33.7887, 37.0131, 10.5177)
Luminance0.3701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A442 #4255B7
analogous
#B76A42 #B7A442 #90B742
triadic
#B7A442 #42B7A4 #A442B7
tetradic
#B7A442 #42B76A #4255B7 #B74290
square
#B7A442 #42B76A #4255B7 #B74290
split-complementary
#B7A442 #4290B7 #6A42B7
monochromatic
#5D5322 #8A7C32 #B7A442 #CABB6C #DAD099

Accessibility & contrast

On white

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

On black

8.40
#B7A442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A442
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A442#FFFFFF#000000##000000
##B7A4421.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A037
Deuteranopia (green-blind)
#B8A747
Tritanopia (blue-blind)
#C5998F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b7a442;
/* rgb */ color: rgb(183, 164, 66);
/* oklch */ color: oklch(71.6% 0.119 98.3);
Tailwind
colors: {
  custom: {
    50: '#d0be7b',
    500: '#b7a442',
    950: '#000000',
  },
}
SCSS
$custom: #b7a442;
$custom-light: #d0be7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a442",
  "rgb": {
    "r": 183,
    "g": 164,
    "b": 66
  },
  "hsl": {
    "h": 50.256,
    "s": 46.988,
    "l": 48.824
  },
  "oklch": {
    "l": 0.71637,
    "c": 0.11936,
    "h": 98.3
  },
  "luminance": 0.37012
}

Semantic roles & 50–950 ramp

primary
#B7A442
secondary
#8F98C6
accent
#67D751
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B7A442

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

Preview Lab → · Contrast checker → · Palette generator →

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