#B8AF3D#B8AF3D

#B8AF3D is a light, vivid yellow. Relative luminance 0.412; OKLCH L 74.0% C 0.133 H 104.8°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#B8AF3D
RGBrgb(184, 175, 61)
HSLhsl(56, 50%, 48%)
HSVhsv(56, 67%, 72%)
CMYKcmyk(0%, 4.9%, 66.8%, 27.8%)
CIE-LABlab(70.31, -10.45, 57.18)
CIE-LCHlch(70.31, 58.12, 100.36°)
OKLaboklab(74.04% -0.034 0.1286)
OKLCHoklch(74.04% 0.133 104.8)
XYZxyz(35.9408, 41.1885, 10.4710)
Luminance0.4119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AF3D #3D46B8
analogous
#B8723D #B8AF3D #83B83D
triadic
#B8AF3D #3DB8AF #AF3DB8
tetradic
#B8AF3D #3DB872 #3D46B8 #B83D83
square
#B8AF3D #3DB872 #3D46B8 #B83D83
split-complementary
#B8AF3D #3D83B8 #723DB8
monochromatic
#5C581F #8A832E #B8AF3D #CCC566 #DBD694

Accessibility & contrast

On white

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

On black

9.24
#B8AF3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AF3D
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AF3D#FFFFFF#000000##000000
##B8AF3D1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA92D
Deuteranopia (green-blind)
#C1AE44
Tritanopia (blue-blind)
#C5A398
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b8af3d;
/* rgb */ color: rgb(184, 175, 61);
/* oklch */ color: oklch(74.0% 0.133 104.8);
Tailwind
colors: {
  custom: {
    50: '#d0c679',
    500: '#b8af3d',
    950: '#000000',
  },
}
SCSS
$custom: #b8af3d;
$custom-light: #d0c679;
$custom-dark: #000000;
JSON
{
  "hex": "#b8af3d",
  "rgb": {
    "r": 184,
    "g": 175,
    "b": 61
  },
  "hsl": {
    "h": 55.61,
    "s": 50.204,
    "l": 48.039
  },
  "oklch": {
    "l": 0.74044,
    "c": 0.13301,
    "h": 104.8
  },
  "luminance": 0.41187
}

Semantic roles & 50–950 ramp

primary
#B8AF3D
secondary
#8A8EC7
accent
#58DA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B8AF3D

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

Preview Lab → · Contrast checker → · Palette generator →

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