#B8B62A#B8B62A

#B8B62A is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.4% C 0.151 H 108.7°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#B8B62A
RGBrgb(184, 182, 42)
HSLhsl(59, 63%, 44%)
HSVhsv(59, 77%, 72%)
CMYKcmyk(0%, 1.1%, 77.2%, 27.8%)
CIE-LABlab(72.10, -14.96, 65.75)
CIE-LCHlch(72.10, 67.43, 102.82°)
OKLaboklab(75.44% -0.0485 0.1434)
OKLCHoklch(75.44% 0.151 108.7)
XYZxyz(36.9145, 43.8146, 8.7026)
Luminance0.4381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B62A #2A2CB8
analogous
#B86F2A #B8B62A #73B82A
triadic
#B8B62A #2AB8B6 #B62AB8
tetradic
#B8B62A #2AB86F #2A2CB8 #B82A73
square
#B8B62A #2AB86F #2A2CB8 #B82A73
split-complementary
#B8B62A #2A73B8 #6F2AB8
monochromatic
#545313 #86851F #B8B62A #D6D44A #E1E07B

Accessibility & contrast

On white

2.15
#B8B62A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#B8B62A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B62A
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B62A#FFFFFF#000000##000000
##B8B62A1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C7B336
Tritanopia (blue-blind)
#C6AA9C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b8b62a;
/* rgb */ color: rgb(184, 182, 42);
/* oklch */ color: oklch(75.4% 0.151 108.7);
Tailwind
colors: {
  custom: {
    50: '#d1cb70',
    500: '#b8b62a',
    950: '#000000',
  },
}
SCSS
$custom: #b8b62a;
$custom-light: #d1cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b62a",
  "rgb": {
    "r": 184,
    "g": 182,
    "b": 42
  },
  "hsl": {
    "h": 59.155,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.75439,
    "c": 0.15134,
    "h": 108.7
  },
  "luminance": 0.43813
}

Semantic roles & 50–950 ramp

primary
#B8B62A
secondary
#7576C9
accent
#44E642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8B62A

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

Preview Lab → · Contrast checker → · Palette generator →

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