#B8A43D#B8A43D

#B8A43D is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.7% C 0.123 H 98.2°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#B8A43D
RGBrgb(184, 164, 61)
HSLhsl(50, 50%, 48%)
HSVhsv(50, 67%, 72%)
CMYKcmyk(0%, 10.9%, 66.8%, 27.8%)
CIE-LABlab(67.34, -4.67, 54.10)
CIE-LCHlch(67.34, 54.30, 94.93°)
OKLaboklab(71.69% -0.0175 0.1221)
OKLCHoklch(71.69% 0.123 98.2)
XYZxyz(33.8865, 37.0798, 9.7862)
Luminance0.3708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A43D #3D51B8
analogous
#B8663D #B8A43D #8EB83D
triadic
#B8A43D #3DB8A4 #A43DB8
tetradic
#B8A43D #3DB866 #3D51B8 #B83D8E
square
#B8A43D #3DB866 #3D51B8 #B83D8E
split-complementary
#B8A43D #3D8EB8 #663DB8
monochromatic
#5C521F #8A7B2E #B8A43D #CCBC66 #DBD094

Accessibility & contrast

On white

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

On black

8.42
#B8A43D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A43D
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A43D#FFFFFF#000000##000000
##B8A43D1.002.508.428.42
#FFFFFF2.501.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A030
Deuteranopia (green-blind)
#B9A743
Tritanopia (blue-blind)
#C6988F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b8a43d;
/* rgb */ color: rgb(184, 164, 61);
/* oklch */ color: oklch(71.7% 0.123 98.2);
Tailwind
colors: {
  custom: {
    50: '#d1be78',
    500: '#b8a43d',
    950: '#000000',
  },
}
SCSS
$custom: #b8a43d;
$custom-light: #d1be78;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a43d",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 61
  },
  "hsl": {
    "h": 50.244,
    "s": 50.204,
    "l": 48.039
  },
  "oklch": {
    "l": 0.71685,
    "c": 0.12335,
    "h": 98.2
  },
  "luminance": 0.37078
}

Semantic roles & 50–950 ramp

primary
#B8A43D
secondary
#8A94C7
accent
#65DA4E
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A43D

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

Preview Lab → · Contrast checker → · Palette generator →

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