#B8A737#B8A737

#B8A737 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 72.3% C 0.130 H 100.5°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#B8A737
RGBrgb(184, 167, 55)
HSLhsl(52, 54%, 47%)
HSVhsv(52, 70%, 72%)
CMYKcmyk(0%, 9.2%, 70.1%, 27.8%)
CIE-LABlab(68.10, -6.59, 57.35)
CIE-LCHlch(68.10, 57.73, 96.56°)
OKLaboklab(72.27% -0.0237 0.128)
OKLCHoklch(72.27% 0.13 100.5)
XYZxyz(34.2770, 38.1052, 9.1632)
Luminance0.3810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A737 #3748B8
analogous
#B86737 #B8A737 #89B837
triadic
#B8A737 #37B8A7 #A737B8
tetradic
#B8A737 #37B867 #3748B8 #B83789
square
#B8A737 #37B867 #3748B8 #B83789
split-complementary
#B8A737 #3789B8 #6737B8
monochromatic
#5A511B #897C29 #B8A737 #CFC05D #DDD28D

Accessibility & contrast

On white

2.44
#B8A737 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#B8A737 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A737
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A737#FFFFFF#000000##000000
##B8A7371.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A226
Deuteranopia (green-blind)
#BCA93E
Tritanopia (blue-blind)
#C69B91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b8a737;
/* rgb */ color: rgb(184, 167, 55);
/* oklch */ color: oklch(72.3% 0.130 100.5);
Tailwind
colors: {
  custom: {
    50: '#d1c075',
    500: '#b8a737',
    950: '#000000',
  },
}
SCSS
$custom: #b8a737;
$custom-light: #d1c075;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a737",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 55
  },
  "hsl": {
    "h": 52.093,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.72274,
    "c": 0.13013,
    "h": 100.5
  },
  "luminance": 0.38104
}

Semantic roles & 50–950 ramp

primary
#B8A737
secondary
#848CC7
accent
#5EDD4A
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A737

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

Preview Lab → · Contrast checker → · Palette generator →

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