#B7A72E#B7A72E

#B7A72E is a light, vivid yellow. Relative luminance 0.379; OKLCH L 72.1% C 0.136 H 101.5°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#B7A72E
RGBrgb(183, 167, 46)
HSLhsl(53, 60%, 45%)
HSVhsv(53, 75%, 72%)
CMYKcmyk(0%, 8.7%, 74.9%, 28.2%)
CIE-LABlab(67.95, -7.47, 60.56)
CIE-LCHlch(67.95, 61.02, 97.03°)
OKLaboklab(72.12% -0.027 0.1331)
OKLCHoklch(72.12% 0.136 101.5)
XYZxyz(33.8419, 37.9035, 8.1178)
Luminance0.3790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A72E #2E3EB7
analogous
#B7632E #B7A72E #82B72E
triadic
#B7A72E #2EB7A7 #A72EB7
tetradic
#B7A72E #2EB763 #2E3EB7 #B72E82
square
#B7A72E #2EB763 #2E3EB7 #B72E82
split-complementary
#B7A72E #2E82B7 #632EB7
monochromatic
#554E15 #867A22 #B7A72E #D3C34F #DFD480

Accessibility & contrast

On white

2.45
#B7A72E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#B7A72E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A72E
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A72E#FFFFFF#000000##000000
##B7A72E1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A217
Deuteranopia (green-blind)
#BCA836
Tritanopia (blue-blind)
#C59B90
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b7a72e;
/* rgb */ color: rgb(183, 167, 46);
/* oklch */ color: oklch(72.1% 0.136 101.5);
Tailwind
colors: {
  custom: {
    50: '#d0c070',
    500: '#b7a72e',
    950: '#000000',
  },
}
SCSS
$custom: #b7a72e;
$custom-light: #d0c070;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a72e",
  "rgb": {
    "r": 183,
    "g": 167,
    "b": 46
  },
  "hsl": {
    "h": 52.993,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72116,
    "c": 0.13584,
    "h": 101.5
  },
  "luminance": 0.37902
}

Semantic roles & 50–950 ramp

primary
#B7A72E
secondary
#7982C8
accent
#57E345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7A72E

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

Preview Lab → · Contrast checker → · Palette generator →

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