#B8AF45#B8AF45

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

Color values

HEX#B8AF45
RGBrgb(184, 175, 69)
HSLhsl(55, 45%, 50%)
HSVhsv(55, 63%, 72%)
CMYKcmyk(0%, 4.9%, 62.5%, 27.8%)
CIE-LABlab(70.37, -9.95, 53.86)
CIE-LCHlch(70.37, 54.77, 100.47°)
OKLaboklab(74.12% -0.0317 0.1228)
OKLCHoklch(74.12% 0.127 104.5)
XYZxyz(36.1726, 41.2813, 11.6917)
Luminance0.4128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AF45 #454EB8
analogous
#B87545 #B8AF45 #88B845
triadic
#B8AF45 #45B8AF #AF45B8
tetradic
#B8AF45 #45B875 #454EB8 #B84588
square
#B8AF45 #45B875 #454EB8 #B84588
split-complementary
#B8AF45 #4588B8 #7545B8
monochromatic
#5F5A24 #8B8534 #B8AF45 #CAC371 #DAD69D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8AF45#FFFFFF#000000##000000
##B8AF451.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)
#BEA938
Deuteranopia (green-blind)
#C1AE4B
Tritanopia (blue-blind)
#C5A499
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b8af45;
/* rgb */ color: rgb(184, 175, 69);
/* oklch */ color: oklch(74.1% 0.127 104.5);
Tailwind
colors: {
  custom: {
    50: '#d0c67d',
    500: '#b8af45',
    950: '#000000',
  },
}
SCSS
$custom: #b8af45;
$custom-light: #d0c67d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8af45",
  "rgb": {
    "r": 184,
    "g": 175,
    "b": 69
  },
  "hsl": {
    "h": 55.304,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74116,
    "c": 0.12684,
    "h": 104.5
  },
  "luminance": 0.4128
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8AF45

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

Preview Lab → · Contrast checker → · Palette generator →

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