#B8A35F#B8A35F

#B8A35F is a light, moderate yellow. Relative luminance 0.372; OKLCH L 71.9% C 0.091 H 92.8°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#B8A35F
RGBrgb(184, 163, 95)
HSLhsl(46, 39%, 55%)
HSVhsv(46, 48%, 72%)
CMYKcmyk(0%, 11.4%, 48.4%, 27.8%)
CIE-LABlab(67.44, -1.49, 37.95)
CIE-LCHlch(67.44, 37.98, 92.25°)
OKLaboklab(71.88% -0.0044 0.0912)
OKLCHoklch(71.88% 0.091 92.8)
XYZxyz(34.9310, 37.2124, 16.1670)
Luminance0.3721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A35F #5F74B8
analogous
#B8775F #B8A35F #A0B85F
triadic
#B8A35F #5FB8A3 #A35FB8
tetradic
#B8A35F #5FB877 #5F74B8 #B85FA0
square
#B8A35F #5FB877 #5F74B8 #B85FA0
split-complementary
#B8A35F #5FA0B8 #775FB8
monochromatic
#6C5E30 #978343 #B8A35F #CBBB89 #DED4B4

Accessibility & contrast

On white

2.49
#B8A35F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#B8A35F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A35F
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A35F#FFFFFF#000000##000000
##B8A35F1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A159
Deuteranopia (green-blind)
#B6A762
Tritanopia (blue-blind)
#C49993
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b8a35f;
/* rgb */ color: rgb(184, 163, 95);
/* oklch */ color: oklch(71.9% 0.091 92.8);
Tailwind
colors: {
  custom: {
    50: '#cfbe8e',
    500: '#b8a35f',
    950: '#000000',
  },
}
SCSS
$custom: #b8a35f;
$custom-light: #cfbe8e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a35f",
  "rgb": {
    "r": 184,
    "g": 163,
    "b": 95
  },
  "hsl": {
    "h": 45.843,
    "s": 38.528,
    "l": 54.706
  },
  "oklch": {
    "l": 0.71882,
    "c": 0.09127,
    "h": 92.8
  },
  "luminance": 0.37211
}

Semantic roles & 50–950 ramp

primary
#B8A35F
secondary
#A7AFCC
accent
#75CE59
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#14120C
muted
#82817D

Preview Lab

Preview with #B8A35F

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

Preview Lab → · Contrast checker → · Palette generator →

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