#B8B037#B8B037

#B8B037 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.2% C 0.138 H 105.5°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#B8B037
RGBrgb(184, 176, 55)
HSLhsl(56, 54%, 47%)
HSVhsv(56, 70%, 72%)
CMYKcmyk(0%, 4.3%, 70.1%, 27.8%)
CIE-LABlab(70.54, -11.30, 59.78)
CIE-LCHlch(70.54, 60.84, 100.70°)
OKLaboklab(74.21% -0.037 0.1331)
OKLCHoklch(74.21% 0.138 105.5)
XYZxyz(35.9835, 41.5182, 9.7321)
Luminance0.4152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B037 #373FB8
analogous
#B87037 #B8B037 #80B837
triadic
#B8B037 #37B8B0 #B037B8
tetradic
#B8B037 #37B870 #373FB8 #B83780
square
#B8B037 #37B870 #373FB8 #B83780
split-complementary
#B8B037 #3780B8 #7037B8
monochromatic
#5A561B #898329 #B8B037 #CFC85D #DDD88D

Accessibility & contrast

On white

2.26
#B8B037 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#B8B037 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B037
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B037#FFFFFF#000000##000000
##B8B0371.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA24
Deuteranopia (green-blind)
#C2AF3F
Tritanopia (blue-blind)
#C6A498
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b8b037;
/* rgb */ color: rgb(184, 176, 55);
/* oklch */ color: oklch(74.2% 0.138 105.5);
Tailwind
colors: {
  custom: {
    50: '#d1c775',
    500: '#b8b037',
    950: '#000000',
  },
}
SCSS
$custom: #b8b037;
$custom-light: #d1c775;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b037",
  "rgb": {
    "r": 184,
    "g": 176,
    "b": 55
  },
  "hsl": {
    "h": 56.279,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.74213,
    "c": 0.13813,
    "h": 105.5
  },
  "luminance": 0.41517
}

Semantic roles & 50–950 ramp

primary
#B8B037
secondary
#8488C7
accent
#54DD4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B037

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

Preview Lab → · Contrast checker → · Palette generator →

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