#B7A72D#B7A72D

#B7A72D 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#B7A72D
RGBrgb(183, 167, 45)
HSLhsl(53, 61%, 45%)
HSVhsv(53, 75%, 72%)
CMYKcmyk(0%, 8.7%, 75.4%, 28.2%)
CIE-LABlab(67.94, -7.51, 60.91)
CIE-LCHlch(67.94, 61.37, 97.03°)
OKLaboklab(72.11% -0.0273 0.1337)
OKLCHoklch(72.11% 0.136 101.5)
XYZxyz(33.8224, 37.8957, 8.0152)
Luminance0.3789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A72D #2D3DB7
analogous
#B7622D #B7A72D #82B72D
triadic
#B7A72D #2DB7A7 #A72DB7
tetradic
#B7A72D #2DB762 #2D3DB7 #B72D82
square
#B7A72D #2DB762 #2D3DB7 #B72D82
split-complementary
#B7A72D #2D82B7 #622DB7
monochromatic
#554D15 #867A21 #B7A72D #D3C44E #DFD47F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7A72D#FFFFFF#000000##000000
##B7A72D1.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)
#B7A214
Deuteranopia (green-blind)
#BCA836
Tritanopia (blue-blind)
#C59B90
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b7a72d;
/* rgb */ color: rgb(183, 167, 45);
/* oklch */ color: oklch(72.1% 0.136 101.5);
Tailwind
colors: {
  custom: {
    50: '#d0c06f',
    500: '#b7a72d',
    950: '#000000',
  },
}
SCSS
$custom: #b7a72d;
$custom-light: #d0c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a72d",
  "rgb": {
    "r": 183,
    "g": 167,
    "b": 45
  },
  "hsl": {
    "h": 53.043,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.7211,
    "c": 0.13641,
    "h": 101.5
  },
  "luminance": 0.37894
}

Semantic roles & 50–950 ramp

primary
#B7A72D
secondary
#7881C8
accent
#57E444
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7A72D

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

Preview Lab → · Contrast checker → · Palette generator →

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