#B8AF38#B8AF38

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

Color values

HEX#B8AF38
RGBrgb(184, 175, 56)
HSLhsl(56, 53%, 47%)
HSVhsv(56, 70%, 72%)
CMYKcmyk(0%, 4.9%, 69.6%, 27.8%)
CIE-LABlab(70.27, -10.73, 59.13)
CIE-LCHlch(70.27, 60.10, 100.28°)
OKLaboklab(74% -0.0353 0.1319)
OKLCHoklch(74% 0.137 105)
XYZxyz(35.8124, 41.1372, 9.7945)
Luminance0.4114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AF38 #3841B8
analogous
#B86F38 #B8AF38 #81B838
triadic
#B8AF38 #38B8AF #AF38B8
tetradic
#B8AF38 #38B86F #3841B8 #B83881
square
#B8AF38 #38B86F #3841B8 #B83881
split-complementary
#B8AF38 #3881B8 #6F38B8
monochromatic
#5A561B #89822A #B8AF38 #CEC65F #DDD78E

Accessibility & contrast

On white

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

On black

9.23
#B8AF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AF38
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AF38#FFFFFF#000000##000000
##B8AF381.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8af38;
/* rgb */ color: rgb(184, 175, 56);
/* oklch */ color: oklch(74.0% 0.137 105.0);
Tailwind
colors: {
  custom: {
    50: '#d1c676',
    500: '#b8af38',
    950: '#000000',
  },
}
SCSS
$custom: #b8af38;
$custom-light: #d1c676;
$custom-dark: #000000;
JSON
{
  "hex": "#b8af38",
  "rgb": {
    "r": 184,
    "g": 175,
    "b": 56
  },
  "hsl": {
    "h": 55.781,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.74004,
    "c": 0.13652,
    "h": 105
  },
  "luminance": 0.41136
}

Semantic roles & 50–950 ramp

primary
#B8AF38
secondary
#8589C7
accent
#55DD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8AF38

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

Preview Lab → · Contrast checker → · Palette generator →

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