#B8B437#B8B437

#B8B437 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.1% C 0.142 H 107.5°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#B8B437
RGBrgb(184, 180, 55)
HSLhsl(58, 54%, 47%)
HSVhsv(58, 70%, 72%)
CMYKcmyk(0%, 2.2%, 70.1%, 27.8%)
CIE-LABlab(71.63, -13.36, 60.86)
CIE-LCHlch(71.63, 62.31, 102.38°)
OKLaboklab(75.08% -0.0428 0.1354)
OKLCHoklch(75.08% 0.142 107.5)
XYZxyz(36.7794, 43.1099, 9.9973)
Luminance0.4311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B437 #373BB8
analogous
#B87437 #B8B437 #7BB837
triadic
#B8B437 #37B8B4 #B437B8
tetradic
#B8B437 #37B874 #373BB8 #B8377B
square
#B8B437 #37B874 #373BB8 #B8377B
split-complementary
#B8B437 #377BB8 #7437B8
monochromatic
#5A581B #898629 #B8B437 #CFCB5D #DDDA8D

Accessibility & contrast

On white

2.18
#B8B437 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#B8B437 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B437
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B437#FFFFFF#000000##000000
##B8B4371.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD22
Deuteranopia (green-blind)
#C5B240
Tritanopia (blue-blind)
#C5A89B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8b437;
/* rgb */ color: rgb(184, 180, 55);
/* oklch */ color: oklch(75.1% 0.142 107.5);
Tailwind
colors: {
  custom: {
    50: '#d1ca76',
    500: '#b8b437',
    950: '#000000',
  },
}
SCSS
$custom: #b8b437;
$custom-light: #d1ca76;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b437",
  "rgb": {
    "r": 184,
    "g": 180,
    "b": 55
  },
  "hsl": {
    "h": 58.14,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.75084,
    "c": 0.14196,
    "h": 107.5
  },
  "luminance": 0.43109
}

Semantic roles & 50–950 ramp

primary
#B8B437
secondary
#8486C7
accent
#4FDD4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B437

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

Preview Lab → · Contrast checker → · Palette generator →

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