#B8A72D#B8A72D

#B8A72D is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.2% C 0.136 H 101.0°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#B8A72D
RGBrgb(184, 167, 45)
HSLhsl(53, 61%, 45%)
HSVhsv(53, 76%, 72%)
CMYKcmyk(0%, 9.2%, 75.5%, 27.8%)
CIE-LABlab(68.03, -7.07, 61.03)
CIE-LCHlch(68.03, 61.44, 96.61°)
OKLaboklab(72.2% -0.0261 0.1339)
OKLCHoklch(72.2% 0.136 101)
XYZxyz(34.0612, 38.0188, 8.0264)
Luminance0.3802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A72D #2D3EB8
analogous
#B8622D #B8A72D #83B82D
triadic
#B8A72D #2DB8A7 #A72DB8
tetradic
#B8A72D #2DB862 #2D3EB8 #B82D83
square
#B8A72D #2DB862 #2D3EB8 #B82D83
split-complementary
#B8A72D #2D83B8 #622DB8
monochromatic
#564E15 #877A21 #B8A72D #D4C34E #E0D480

Accessibility & contrast

On white

2.44
#B8A72D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#B8A72D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A72D
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A72D#FFFFFF#000000##000000
##B8A72D1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A214
Deuteranopia (green-blind)
#BCA936
Tritanopia (blue-blind)
#C69B90
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b8a72d;
/* rgb */ color: rgb(184, 167, 45);
/* oklch */ color: oklch(72.2% 0.136 101.0);
Tailwind
colors: {
  custom: {
    50: '#d1c06f',
    500: '#b8a72d',
    950: '#000000',
  },
}
SCSS
$custom: #b8a72d;
$custom-light: #d1c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a72d",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 45
  },
  "hsl": {
    "h": 52.662,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72203,
    "c": 0.13639,
    "h": 101
  },
  "luminance": 0.38017
}

Semantic roles & 50–950 ramp

primary
#B8A72D
secondary
#7882C9
accent
#58E444
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8A72D

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

Preview Lab → · Contrast checker → · Palette generator →

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