#B8AF36#B8AF36

#B8AF36 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 74.0% C 0.138 H 105.0°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#B8AF36
RGBrgb(184, 175, 54)
HSLhsl(56, 55%, 47%)
HSVhsv(56, 71%, 72%)
CMYKcmyk(0%, 4.9%, 70.7%, 27.8%)
CIE-LABlab(70.26, -10.83, 59.89)
CIE-LCHlch(70.26, 60.86, 100.25°)
OKLaboklab(73.99% -0.0358 0.1331)
OKLCHoklch(73.99% 0.138 105)
XYZxyz(35.7644, 41.1180, 9.5420)
Luminance0.4112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AF36 #363FB8
analogous
#B86E36 #B8AF36 #80B836
triadic
#B8AF36 #36B8AF #AF36B8
tetradic
#B8AF36 #36B86E #363FB8 #B83680
square
#B8AF36 #36B86E #363FB8 #B83680
split-complementary
#B8AF36 #3680B8 #6E36B8
monochromatic
#59551A #898228 #B8AF36 #CFC75C #DDD78B

Accessibility & contrast

On white

2.28
#B8AF36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#B8AF36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AF36
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AF36#FFFFFF#000000##000000
##B8AF361.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA922
Deuteranopia (green-blind)
#C2AE3E
Tritanopia (blue-blind)
#C6A397
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b8af36;
/* rgb */ color: rgb(184, 175, 54);
/* oklch */ color: oklch(74.0% 0.138 105.0);
Tailwind
colors: {
  custom: {
    50: '#d1c675',
    500: '#b8af36',
    950: '#000000',
  },
}
SCSS
$custom: #b8af36;
$custom-light: #d1c675;
$custom-dark: #000000;
JSON
{
  "hex": "#b8af36",
  "rgb": {
    "r": 184,
    "g": 175,
    "b": 54
  },
  "hsl": {
    "h": 55.846,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.73989,
    "c": 0.13785,
    "h": 105
  },
  "luminance": 0.41117
}

Semantic roles & 50–950 ramp

primary
#B8AF36
secondary
#8287C7
accent
#54DE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8AF36

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

Preview Lab → · Contrast checker → · Palette generator →

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