#B8A437#B8A437

#B8A437 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.6% C 0.128 H 98.6°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#B8A437
RGBrgb(184, 164, 55)
HSLhsl(51, 54%, 47%)
HSVhsv(51, 70%, 72%)
CMYKcmyk(0%, 10.9%, 70.1%, 27.8%)
CIE-LABlab(67.29, -5.01, 56.54)
CIE-LCHlch(67.29, 56.76, 95.06°)
OKLaboklab(71.63% -0.0192 0.1262)
OKLCHoklch(71.63% 0.128 98.6)
XYZxyz(33.7338, 37.0187, 8.9821)
Luminance0.3702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A437 #374BB8
analogous
#B86437 #B8A437 #8CB837
triadic
#B8A437 #37B8A4 #A437B8
tetradic
#B8A437 #37B864 #374BB8 #B8378C
square
#B8A437 #37B864 #374BB8 #B8378C
split-complementary
#B8A437 #378CB8 #6437B8
monochromatic
#5A501B #897A29 #B8A437 #CFBD5D #DDD08D

Accessibility & contrast

On white

2.50
#B8A437 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#B8A437 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A437
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A437#FFFFFF#000000##000000
##B8A4371.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A027
Deuteranopia (green-blind)
#B9A73D
Tritanopia (blue-blind)
#C6988E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b8a437;
/* rgb */ color: rgb(184, 164, 55);
/* oklch */ color: oklch(71.6% 0.128 98.6);
Tailwind
colors: {
  custom: {
    50: '#d1be74',
    500: '#b8a437',
    950: '#000000',
  },
}
SCSS
$custom: #b8a437;
$custom-light: #d1be74;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a437",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 55
  },
  "hsl": {
    "h": 50.698,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.71634,
    "c": 0.12769,
    "h": 98.6
  },
  "luminance": 0.37017
}

Semantic roles & 50–950 ramp

primary
#B8A437
secondary
#848EC7
accent
#61DD4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A437

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

Preview Lab → · Contrast checker → · Palette generator →

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