#B8A84B#B8A84B

#B8A84B is a light, moderate yellow. Relative luminance 0.387; OKLCH L 72.7% C 0.115 H 99.6°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#B8A84B
RGBrgb(184, 168, 75)
HSLhsl(51, 43%, 51%)
HSVhsv(51, 59%, 72%)
CMYKcmyk(0%, 8.7%, 59.2%, 27.8%)
CIE-LABlab(68.54, -5.86, 49.12)
CIE-LCHlch(68.54, 49.47, 96.80°)
OKLaboklab(72.68% -0.0193 0.1136)
OKLCHoklch(72.68% 0.115 99.6)
XYZxyz(35.0411, 38.7051, 12.2803)
Luminance0.3870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A84B #4B5BB8
analogous
#B8714B #B8A84B #91B84B
triadic
#B8A84B #4BB8A8 #A84BB8
tetradic
#B8A84B #4BB871 #4B5BB8 #B84B91
square
#B8A84B #4BB871 #4B5BB8 #B84B91
split-complementary
#B8A84B #4B91B8 #714BB8
monochromatic
#625927 #8E8138 #B8A84B #C9BD77 #DBD2A3

Accessibility & contrast

On white

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

On black

8.74
#B8A84B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A84B
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A84B#FFFFFF#000000##000000
##B8A84B1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8a84b;
/* rgb */ color: rgb(184, 168, 75);
/* oklch */ color: oklch(72.7% 0.115 99.6);
Tailwind
colors: {
  custom: {
    50: '#d0c181',
    500: '#b8a84b',
    950: '#000000',
  },
}
SCSS
$custom: #b8a84b;
$custom-light: #d0c181;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a84b",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 75
  },
  "hsl": {
    "h": 51.193,
    "s": 43.426,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72677,
    "c": 0.11519,
    "h": 99.6
  },
  "luminance": 0.38704
}

Semantic roles & 50–950 ramp

primary
#B8A84B
secondary
#979EC8
accent
#67D355
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A84B

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

Preview Lab → · Contrast checker → · Palette generator →

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