#B8A637#B8A637

#B8A637 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 72.1% C 0.129 H 99.9°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#B8A637
RGBrgb(184, 166, 55)
HSLhsl(52, 54%, 47%)
HSVhsv(52, 70%, 72%)
CMYKcmyk(0%, 9.8%, 70.1%, 27.8%)
CIE-LABlab(67.83, -6.07, 57.08)
CIE-LCHlch(67.83, 57.40, 96.07°)
OKLaboklab(72.06% -0.0222 0.1274)
OKLCHoklch(72.06% 0.129 99.9)
XYZxyz(34.0945, 37.7402, 9.1024)
Luminance0.3774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A637 #3749B8
analogous
#B86637 #B8A637 #8AB837
triadic
#B8A637 #37B8A6 #A637B8
tetradic
#B8A637 #37B866 #3749B8 #B8378A
square
#B8A637 #37B866 #3749B8 #B8378A
split-complementary
#B8A637 #378AB8 #6637B8
monochromatic
#5A511B #897B29 #B8A637 #CFBF5D #DDD28D

Accessibility & contrast

On white

2.46
#B8A637 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#B8A637 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A637
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A637#FFFFFF#000000##000000
##B8A6371.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A127
Deuteranopia (green-blind)
#BBA83E
Tritanopia (blue-blind)
#C69A90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b8a637;
/* rgb */ color: rgb(184, 166, 55);
/* oklch */ color: oklch(72.1% 0.129 99.9);
Tailwind
colors: {
  custom: {
    50: '#d1c075',
    500: '#b8a637',
    950: '#000000',
  },
}
SCSS
$custom: #b8a637;
$custom-light: #d1c075;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a637",
  "rgb": {
    "r": 184,
    "g": 166,
    "b": 55
  },
  "hsl": {
    "h": 51.628,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.7206,
    "c": 0.1293,
    "h": 99.9
  },
  "luminance": 0.37739
}

Semantic roles & 50–950 ramp

primary
#B8A637
secondary
#848DC7
accent
#5FDD4A
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A637

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

Preview Lab → · Contrast checker → · Palette generator →

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