#B8AF46#B8AF46

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

Color values

HEX#B8AF46
RGBrgb(184, 175, 70)
HSLhsl(55, 45%, 50%)
HSVhsv(55, 62%, 72%)
CMYKcmyk(0%, 4.9%, 62%, 27.8%)
CIE-LABlab(70.38, -9.89, 53.43)
CIE-LCHlch(70.38, 54.33, 100.49°)
OKLaboklab(74.13% -0.0314 0.1221)
OKLCHoklch(74.13% 0.126 104.4)
XYZxyz(36.2039, 41.2938, 11.8566)
Luminance0.4129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AF46 #464FB8
analogous
#B87646 #B8AF46 #88B846
triadic
#B8AF46 #46B8AF #AF46B8
tetradic
#B8AF46 #46B876 #464FB8 #B84688
square
#B8AF46 #46B876 #464FB8 #B84688
split-complementary
#B8AF46 #4688B8 #7646B8
monochromatic
#5F5B24 #8C8535 #B8AF46 #C9C272 #DAD59E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8AF46#FFFFFF#000000##000000
##B8AF461.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)
#BDA93A
Deuteranopia (green-blind)
#C1AE4C
Tritanopia (blue-blind)
#C5A499
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b8af46;
/* rgb */ color: rgb(184, 175, 70);
/* oklch */ color: oklch(74.1% 0.126 104.4);
Tailwind
colors: {
  custom: {
    50: '#d0c67e',
    500: '#b8af46',
    950: '#000000',
  },
}
SCSS
$custom: #b8af46;
$custom-light: #d0c67e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8af46",
  "rgb": {
    "r": 184,
    "g": 175,
    "b": 70
  },
  "hsl": {
    "h": 55.263,
    "s": 44.882,
    "l": 49.804
  },
  "oklch": {
    "l": 0.74126,
    "c": 0.12603,
    "h": 104.4
  },
  "luminance": 0.41292
}

Semantic roles & 50–950 ramp

primary
#B8AF46
secondary
#9397C7
accent
#5DD553
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B8AF46

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

Preview Lab → · Contrast checker → · Palette generator →

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