#B8AC2E#B8AC2E

#B8AC2E is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.3% C 0.140 H 103.7°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#B8AC2E
RGBrgb(184, 172, 46)
HSLhsl(55, 60%, 45%)
HSVhsv(55, 75%, 72%)
CMYKcmyk(0%, 6.5%, 75%, 27.8%)
CIE-LABlab(69.39, -9.65, 61.95)
CIE-LCHlch(69.39, 62.70, 98.85°)
OKLaboklab(73.29% -0.0332 0.136)
OKLCHoklch(73.29% 0.14 103.7)
XYZxyz(35.0144, 39.8941, 8.4402)
Luminance0.3989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AC2E #2E3AB8
analogous
#B8672E #B8AC2E #7FB82E
triadic
#B8AC2E #2EB8AC #AC2EB8
tetradic
#B8AC2E #2EB867 #2E3AB8 #B82E7F
square
#B8AC2E #2EB867 #2E3AB8 #B82E7F
split-complementary
#B8AC2E #2E7FB8 #672EB8
monochromatic
#565016 #877E22 #B8AC2E #D3C850 #DFD781

Accessibility & contrast

On white

2.34
#B8AC2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#B8AC2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AC2E
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AC2E#FFFFFF#000000##000000
##B8AC2E1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA614
Deuteranopia (green-blind)
#C0AC37
Tritanopia (blue-blind)
#C6A094
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b8ac2e;
/* rgb */ color: rgb(184, 172, 46);
/* oklch */ color: oklch(73.3% 0.140 103.7);
Tailwind
colors: {
  custom: {
    50: '#d1c470',
    500: '#b8ac2e',
    950: '#000000',
  },
}
SCSS
$custom: #b8ac2e;
$custom-light: #d1c470;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ac2e",
  "rgb": {
    "r": 184,
    "g": 172,
    "b": 46
  },
  "hsl": {
    "h": 54.783,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.73286,
    "c": 0.14003,
    "h": 103.7
  },
  "luminance": 0.39893
}

Semantic roles & 50–950 ramp

primary
#B8AC2E
secondary
#7980C8
accent
#52E345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8AC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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