#B8AC3E#B8AC3E

#B8AC3E is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.4% C 0.129 H 103.1°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#B8AC3E
RGBrgb(184, 172, 62)
HSLhsl(54, 50%, 48%)
HSVhsv(54, 66%, 72%)
CMYKcmyk(0%, 6.5%, 66.3%, 27.8%)
CIE-LABlab(69.50, -8.83, 55.93)
CIE-LCHlch(69.50, 56.62, 98.97°)
OKLaboklab(73.41% -0.0293 0.1261)
OKLCHoklch(73.41% 0.129 103.1)
XYZxyz(35.3906, 40.0446, 10.4217)
Luminance0.4004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AC3E #3E4AB8
analogous
#B86F3E #B8AC3E #87B83E
triadic
#B8AC3E #3EB8AC #AC3EB8
tetradic
#B8AC3E #3EB86F #3E4AB8 #B83E87
square
#B8AC3E #3EB86F #3E4AB8 #B83E87
split-complementary
#B8AC3E #3E87B8 #6F3EB8
monochromatic
#5C561F #8A812F #B8AC3E #CCC267 #DBD495

Accessibility & contrast

On white

2.33
#B8AC3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#B8AC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AC3E
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AC3E#FFFFFF#000000##000000
##B8AC3E1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA72F
Deuteranopia (green-blind)
#BFAC45
Tritanopia (blue-blind)
#C6A095
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b8ac3e;
/* rgb */ color: rgb(184, 172, 62);
/* oklch */ color: oklch(73.4% 0.129 103.1);
Tailwind
colors: {
  custom: {
    50: '#d0c479',
    500: '#b8ac3e',
    950: '#000000',
  },
}
SCSS
$custom: #b8ac3e;
$custom-light: #d0c479;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ac3e",
  "rgb": {
    "r": 184,
    "g": 172,
    "b": 62
  },
  "hsl": {
    "h": 54.098,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.73405,
    "c": 0.12948,
    "h": 103.1
  },
  "luminance": 0.40043
}

Semantic roles & 50–950 ramp

primary
#B8AC3E
secondary
#8B91C7
accent
#5CD94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B8AC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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