#B8A643#B8A643

#B8A643 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 72.2% C 0.120 H 99.0°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#B8A643
RGBrgb(184, 166, 67)
HSLhsl(51, 47%, 49%)
HSVhsv(51, 64%, 72%)
CMYKcmyk(0%, 9.8%, 63.6%, 27.8%)
CIE-LABlab(67.92, -5.36, 52.10)
CIE-LCHlch(67.92, 52.38, 95.87°)
OKLaboklab(72.17% -0.0188 0.1188)
OKLCHoklch(72.17% 0.12 99)
XYZxyz(34.4179, 37.8696, 10.8057)
Luminance0.3787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A643 #4355B8
analogous
#B86C43 #B8A643 #90B843
triadic
#B8A643 #43B8A6 #A643B8
tetradic
#B8A643 #43B86C #4355B8 #B84390
square
#B8A643 #43B86C #4355B8 #B84390
split-complementary
#B8A643 #4390B8 #6C43B8
monochromatic
#5E5522 #8B7E33 #B8A643 #CABC6E #DBD19B

Accessibility & contrast

On white

2.45
#B8A643 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#B8A643 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A643
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A643#FFFFFF#000000##000000
##B8A6431.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A237
Deuteranopia (green-blind)
#BAA848
Tritanopia (blue-blind)
#C69B91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b8a643;
/* rgb */ color: rgb(184, 166, 67);
/* oklch */ color: oklch(72.2% 0.120 99.0);
Tailwind
colors: {
  custom: {
    50: '#d0c07b',
    500: '#b8a643',
    950: '#000000',
  },
}
SCSS
$custom: #b8a643;
$custom-light: #d0c07b;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a643",
  "rgb": {
    "r": 184,
    "g": 166,
    "b": 67
  },
  "hsl": {
    "h": 50.769,
    "s": 46.614,
    "l": 49.216
  },
  "oklch": {
    "l": 0.72167,
    "c": 0.12029,
    "h": 99
  },
  "luminance": 0.37868
}

Semantic roles & 50–950 ramp

primary
#B8A643
secondary
#9099C7
accent
#66D652
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A643

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

Preview Lab → · Contrast checker → · Palette generator →

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