#B8A84F#B8A84F

#B8A84F is a light, moderate yellow. Relative luminance 0.388; OKLCH L 72.7% C 0.112 H 99.3°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#B8A84F
RGBrgb(184, 168, 79)
HSLhsl(51, 43%, 52%)
HSVhsv(51, 57%, 72%)
CMYKcmyk(0%, 8.7%, 57.1%, 27.8%)
CIE-LABlab(68.58, -5.56, 47.28)
CIE-LCHlch(68.58, 47.61, 96.70°)
OKLaboklab(72.72% -0.0179 0.1101)
OKLCHoklch(72.72% 0.112 99.3)
XYZxyz(35.1824, 38.7616, 13.0241)
Luminance0.3876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A84F #4F5FB8
analogous
#B8744F #B8A84F #94B84F
triadic
#B8A84F #4FB8A8 #A84FB8
tetradic
#B8A84F #4FB874 #4F5FB8 #B84F94
square
#B8A84F #4FB874 #4F5FB8 #B84F94
split-complementary
#B8A84F #4F94B8 #744FB8
monochromatic
#645B28 #90833A #B8A84F #CABE7B #DBD3A6

Accessibility & contrast

On white

2.40
#B8A84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#B8A84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A84F
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A84F#FFFFFF#000000##000000
##B8A84F1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A446
Deuteranopia (green-blind)
#BBAA53
Tritanopia (blue-blind)
#C59D94
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a84f;
/* rgb */ color: rgb(184, 168, 79);
/* oklch */ color: oklch(72.7% 0.112 99.3);
Tailwind
colors: {
  custom: {
    50: '#d0c183',
    500: '#b8a84f',
    950: '#000000',
  },
}
SCSS
$custom: #b8a84f;
$custom-light: #d0c183;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a84f",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 79
  },
  "hsl": {
    "h": 50.857,
    "s": 42.51,
    "l": 51.569
  },
  "oklch": {
    "l": 0.72723,
    "c": 0.11155,
    "h": 99.3
  },
  "luminance": 0.3876
}

Semantic roles & 50–950 ramp

primary
#B8A84F
secondary
#9AA1C8
accent
#69D256
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8A84F

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

Preview Lab → · Contrast checker → · Palette generator →

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