#B8A43B#B8A43B

#B8A43B is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.7% C 0.125 H 98.3°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#B8A43B
RGBrgb(184, 164, 59)
HSLhsl(50, 51%, 48%)
HSVhsv(50, 68%, 72%)
CMYKcmyk(0%, 10.9%, 67.9%, 27.8%)
CIE-LABlab(67.32, -4.79, 54.93)
CIE-LCHlch(67.32, 55.14, 94.98°)
OKLaboklab(71.67% -0.0181 0.1235)
OKLCHoklch(71.67% 0.125 98.3)
XYZxyz(33.8336, 37.0586, 9.5077)
Luminance0.3706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A43B #3B4FB8
analogous
#B8663B #B8A43B #8DB83B
triadic
#B8A43B #3BB8A4 #A43BB8
tetradic
#B8A43B #3BB866 #3B4FB8 #B83B8D
square
#B8A43B #3BB866 #3B4FB8 #B83B8D
split-complementary
#B8A43B #3B8DB8 #663BB8
monochromatic
#5B511D #8A7B2C #B8A43B #CDBC63 #DCD092

Accessibility & contrast

On white

2.50
#B8A43B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#B8A43B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A43B
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A43B#FFFFFF#000000##000000
##B8A43B1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A02D
Deuteranopia (green-blind)
#B9A741
Tritanopia (blue-blind)
#C6988E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b8a43b;
/* rgb */ color: rgb(184, 164, 59);
/* oklch */ color: oklch(71.7% 0.125 98.3);
Tailwind
colors: {
  custom: {
    50: '#d1be77',
    500: '#b8a43b',
    950: '#000000',
  },
}
SCSS
$custom: #b8a43b;
$custom-light: #d1be77;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a43b",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 59
  },
  "hsl": {
    "h": 50.4,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71667,
    "c": 0.12484,
    "h": 98.3
  },
  "luminance": 0.37057
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8A43B

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

Preview Lab → · Contrast checker → · Palette generator →

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