#B8A33B#B8A33B

#B8A33B is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.5% C 0.124 H 97.7°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#B8A33B
RGBrgb(184, 163, 59)
HSLhsl(50, 51%, 48%)
HSVhsv(50, 68%, 72%)
CMYKcmyk(0%, 11.4%, 67.9%, 27.8%)
CIE-LABlab(67.05, -4.25, 54.65)
CIE-LCHlch(67.05, 54.82, 94.45°)
OKLaboklab(71.46% -0.0166 0.1229)
OKLCHoklch(71.46% 0.124 97.7)
XYZxyz(33.6553, 36.7021, 9.4483)
Luminance0.3670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A33B #3B50B8
analogous
#B8653B #B8A33B #8EB83B
triadic
#B8A33B #3BB8A3 #A33BB8
tetradic
#B8A33B #3BB865 #3B50B8 #B83B8E
square
#B8A33B #3BB865 #3B50B8 #B83B8E
split-complementary
#B8A33B #3B8EB8 #653BB8
monochromatic
#5B511D #8A7A2C #B8A33B #CDBB63 #DCCF92

Accessibility & contrast

On white

2.52
#B8A33B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#B8A33B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A33B
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A33B#FFFFFF#000000##000000
##B8A33B1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F2D
Deuteranopia (green-blind)
#B8A641
Tritanopia (blue-blind)
#C6978E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b8a33b;
/* rgb */ color: rgb(184, 163, 59);
/* oklch */ color: oklch(71.5% 0.124 97.7);
Tailwind
colors: {
  custom: {
    50: '#d1bd77',
    500: '#b8a33b',
    950: '#000000',
  },
}
SCSS
$custom: #b8a33b;
$custom-light: #d1bd77;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a33b",
  "rgb": {
    "r": 184,
    "g": 163,
    "b": 59
  },
  "hsl": {
    "h": 49.92,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71455,
    "c": 0.12404,
    "h": 97.7
  },
  "luminance": 0.367
}

Semantic roles & 50–950 ramp

primary
#B8A33B
secondary
#8892C7
accent
#65DB4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A33B

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

Preview Lab → · Contrast checker → · Palette generator →

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