#B8A34B#B8A34B

#B8A34B is a light, moderate yellow. Relative luminance 0.369; OKLCH L 71.6% C 0.111 H 96.0°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#B8A34B
RGBrgb(184, 163, 75)
HSLhsl(48, 43%, 51%)
HSVhsv(48, 59%, 72%)
CMYKcmyk(0%, 11.4%, 59.2%, 27.8%)
CIE-LABlab(67.20, -3.20, 47.61)
CIE-LCHlch(67.20, 47.72, 93.85°)
OKLaboklab(71.62% -0.0116 0.1103)
OKLCHoklch(71.62% 0.111 96)
XYZxyz(34.1357, 36.8943, 11.9785)
Luminance0.3689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A34B #4B60B8
analogous
#B86C4B #B8A34B #96B84B
triadic
#B8A34B #4BB8A3 #A34BB8
tetradic
#B8A34B #4BB86C #4B60B8 #B84B96
square
#B8A34B #4BB86C #4B60B8 #B84B96
split-complementary
#B8A34B #4B96B8 #6C4BB8
monochromatic
#625727 #8E7D38 #B8A34B #C9B977 #DBD0A3

Accessibility & contrast

On white

2.51
#B8A34B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#B8A34B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A34B
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A34B#FFFFFF#000000##000000
##B8A34B1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A042
Deuteranopia (green-blind)
#B7A74F
Tritanopia (blue-blind)
#C59890
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b8a34b;
/* rgb */ color: rgb(184, 163, 75);
/* oklch */ color: oklch(71.6% 0.111 96.0);
Tailwind
colors: {
  custom: {
    50: '#d0be80',
    500: '#b8a34b',
    950: '#000000',
  },
}
SCSS
$custom: #b8a34b;
$custom-light: #d0be80;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a34b",
  "rgb": {
    "r": 184,
    "g": 163,
    "b": 75
  },
  "hsl": {
    "h": 48.44,
    "s": 43.426,
    "l": 50.784
  },
  "oklch": {
    "l": 0.71616,
    "c": 0.11094,
    "h": 96
  },
  "luminance": 0.36893
}

Semantic roles & 50–950 ramp

primary
#B8A34B
secondary
#97A1C8
accent
#6DD355
background
#FDFBF8
surface
#FAF6EF
border
#D3D0CA
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A34B

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

Preview Lab → · Contrast checker → · Palette generator →

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