#B8A34F#B8A34F

#B8A34F is a light, moderate yellow. Relative luminance 0.369; OKLCH L 71.7% C 0.107 H 95.5°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#B8A34F
RGBrgb(184, 163, 79)
HSLhsl(48, 43%, 52%)
HSVhsv(48, 57%, 72%)
CMYKcmyk(0%, 11.4%, 57.1%, 27.8%)
CIE-LABlab(67.24, -2.90, 45.74)
CIE-LCHlch(67.24, 45.83, 93.62°)
OKLaboklab(71.66% -0.0103 0.1068)
OKLCHoklch(71.66% 0.107 95.5)
XYZxyz(34.2770, 36.9508, 12.7223)
Luminance0.3695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A34F #4F64B8
analogous
#B86F4F #B8A34F #99B84F
triadic
#B8A34F #4FB8A3 #A34FB8
tetradic
#B8A34F #4FB86F #4F64B8 #B84F99
square
#B8A34F #4FB86F #4F64B8 #B84F99
split-complementary
#B8A34F #4F99B8 #6F4FB8
monochromatic
#645828 #907F3A #B8A34F #CABA7B #DBD1A6

Accessibility & contrast

On white

2.50
#B8A34F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#B8A34F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A34F
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A34F#FFFFFF#000000##000000
##B8A34F1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8a34f;
/* rgb */ color: rgb(184, 163, 79);
/* oklch */ color: oklch(71.7% 0.107 95.5);
Tailwind
colors: {
  custom: {
    50: '#d0be83',
    500: '#b8a34f',
    950: '#000000',
  },
}
SCSS
$custom: #b8a34f;
$custom-light: #d0be83;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a34f",
  "rgb": {
    "r": 184,
    "g": 163,
    "b": 79
  },
  "hsl": {
    "h": 48,
    "s": 42.51,
    "l": 51.569
  },
  "oklch": {
    "l": 0.71663,
    "c": 0.10727,
    "h": 95.5
  },
  "luminance": 0.36949
}

Semantic roles & 50–950 ramp

primary
#B8A34F
secondary
#9AA4C8
accent
#6ED256
background
#FDFBF8
surface
#FAF6EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8A34F

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

Preview Lab → · Contrast checker → · Palette generator →

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