#B8A72C#B8A72C

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

Color values

HEX#B8A72C
RGBrgb(184, 167, 44)
HSLhsl(53, 61%, 45%)
HSVhsv(53, 76%, 72%)
CMYKcmyk(0%, 9.2%, 76.1%, 27.8%)
CIE-LABlab(68.03, -7.11, 61.37)
CIE-LCHlch(68.03, 61.78, 96.61°)
OKLaboklab(72.2% -0.0263 0.1344)
OKLCHoklch(72.2% 0.137 101.1)
XYZxyz(34.0421, 38.0112, 7.9262)
Luminance0.3801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A72C #2C3DB8
analogous
#B8612C #B8A72C #83B82C
triadic
#B8A72C #2CB8A7 #A72CB8
tetradic
#B8A72C #2CB861 #2C3DB8 #B82C83
square
#B8A72C #2CB861 #2C3DB8 #B82C83
split-complementary
#B8A72C #2C83B8 #612CB8
monochromatic
#554D14 #877A20 #B8A72C #D4C44D #E0D47E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A72C#FFFFFF#000000##000000
##B8A72C1.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)
#B7A212
Deuteranopia (green-blind)
#BCA935
Tritanopia (blue-blind)
#C69B90
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b8a72c;
/* rgb */ color: rgb(184, 167, 44);
/* oklch */ color: oklch(72.2% 0.137 101.1);
Tailwind
colors: {
  custom: {
    50: '#d1c06f',
    500: '#b8a72c',
    950: '#000000',
  },
}
SCSS
$custom: #b8a72c;
$custom-light: #d1c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a72c",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 44
  },
  "hsl": {
    "h": 52.714,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72197,
    "c": 0.13695,
    "h": 101.1
  },
  "luminance": 0.3801
}

Semantic roles & 50–950 ramp

primary
#B8A72C
secondary
#7781C9
accent
#57E543
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8A72C

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

Preview Lab → · Contrast checker → · Palette generator →

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