#B8AF47#B8AF47

#B8AF47 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.1% C 0.125 H 104.4°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#B8AF47
RGBrgb(184, 175, 71)
HSLhsl(55, 44%, 50%)
HSVhsv(55, 61%, 72%)
CMYKcmyk(0%, 4.9%, 61.4%, 27.8%)
CIE-LABlab(70.39, -9.82, 52.99)
CIE-LCHlch(70.39, 53.90, 100.50°)
OKLaboklab(74.14% -0.0311 0.1213)
OKLCHoklch(74.14% 0.125 104.4)
XYZxyz(36.2358, 41.3065, 12.0242)
Luminance0.4130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AF47 #4750B8
analogous
#B87647 #B8AF47 #89B847
triadic
#B8AF47 #47B8AF #AF47B8
tetradic
#B8AF47 #47B876 #4750B8 #B84789
square
#B8AF47 #47B876 #4750B8 #B84789
split-complementary
#B8AF47 #4789B8 #7647B8
monochromatic
#605B25 #8C8536 #B8AF47 #C9C273 #DAD59F

Accessibility & contrast

On white

2.27
#B8AF47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#B8AF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AF47
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AF47#FFFFFF#000000##000000
##B8AF471.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA93B
Deuteranopia (green-blind)
#C1AE4D
Tritanopia (blue-blind)
#C5A499
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b8af47;
/* rgb */ color: rgb(184, 175, 71);
/* oklch */ color: oklch(74.1% 0.125 104.4);
Tailwind
colors: {
  custom: {
    50: '#d0c67f',
    500: '#b8af47',
    950: '#000000',
  },
}
SCSS
$custom: #b8af47;
$custom-light: #d0c67f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8af47",
  "rgb": {
    "r": 184,
    "g": 175,
    "b": 71
  },
  "hsl": {
    "h": 55.221,
    "s": 44.314,
    "l": 50
  },
  "oklch": {
    "l": 0.74136,
    "c": 0.12519,
    "h": 104.4
  },
  "luminance": 0.41305
}

Semantic roles & 50–950 ramp

primary
#B8AF47
secondary
#9498C7
accent
#5ED454
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B8AF47

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

Preview Lab → · Contrast checker → · Palette generator →

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