#B8B53A#B8B53A

#B8B53A is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.3% C 0.141 H 108.0°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#B8B53A
RGBrgb(184, 181, 58)
HSLhsl(59, 52%, 47%)
HSVhsv(59, 68%, 72%)
CMYKcmyk(0%, 1.6%, 68.5%, 27.8%)
CIE-LABlab(71.92, -13.71, 60.01)
CIE-LCHlch(71.92, 61.55, 102.87°)
OKLaboklab(75.32% -0.0435 0.1341)
OKLCHoklch(75.32% 0.141 108)
XYZxyz(37.0561, 43.5448, 10.4552)
Luminance0.4354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B53A #3A3DB8
analogous
#B8763A #B8B53A #7CB83A
triadic
#B8B53A #3AB8B5 #B53AB8
tetradic
#B8B53A #3AB876 #3A3DB8 #B83A7C
square
#B8B53A #3AB876 #3A3DB8 #B83A7C
split-complementary
#B8B53A #3A7CB8 #763AB8
monochromatic
#5B591D #89872B #B8B53A #CDCB62 #DCDA90

Accessibility & contrast

On white

2.16
#B8B53A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#B8B53A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B53A
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B53A#FFFFFF#000000##000000
##B8B53A1.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE27
Deuteranopia (green-blind)
#C6B242
Tritanopia (blue-blind)
#C5A99C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b8b53a;
/* rgb */ color: rgb(184, 181, 58);
/* oklch */ color: oklch(75.3% 0.141 108.0);
Tailwind
colors: {
  custom: {
    50: '#d1ca78',
    500: '#b8b53a',
    950: '#000000',
  },
}
SCSS
$custom: #b8b53a;
$custom-light: #d1ca78;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b53a",
  "rgb": {
    "r": 184,
    "g": 181,
    "b": 58
  },
  "hsl": {
    "h": 58.571,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.75324,
    "c": 0.14095,
    "h": 108
  },
  "luminance": 0.43544
}

Semantic roles & 50–950 ramp

primary
#B8B53A
secondary
#8788C7
accent
#50DC4C
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B53A

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

Preview Lab → · Contrast checker → · Palette generator →

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