#B8B43A#B8B43A

#B8B43A is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.1% C 0.140 H 107.5°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#B8B43A
RGBrgb(184, 180, 58)
HSLhsl(58, 52%, 47%)
HSVhsv(58, 68%, 72%)
CMYKcmyk(0%, 2.2%, 68.5%, 27.8%)
CIE-LABlab(71.65, -13.20, 59.73)
CIE-LCHlch(71.65, 61.17, 102.46°)
OKLaboklab(75.11% -0.042 0.1335)
OKLCHoklch(75.11% 0.14 107.5)
XYZxyz(36.8535, 43.1396, 10.3876)
Luminance0.4314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B43A #3A3EB8
analogous
#B8753A #B8B43A #7DB83A
triadic
#B8B43A #3AB8B4 #B43AB8
tetradic
#B8B43A #3AB875 #3A3EB8 #B83A7D
square
#B8B43A #3AB875 #3A3EB8 #B83A7D
split-complementary
#B8B43A #3A7DB8 #753AB8
monochromatic
#5B591D #89862B #B8B43A #CDCA62 #DCDA90

Accessibility & contrast

On white

2.18
#B8B43A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#B8B43A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B43A
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B43A#FFFFFF#000000##000000
##B8B43A1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD27
Deuteranopia (green-blind)
#C5B242
Tritanopia (blue-blind)
#C5A89C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8b43a;
/* rgb */ color: rgb(184, 180, 58);
/* oklch */ color: oklch(75.1% 0.140 107.5);
Tailwind
colors: {
  custom: {
    50: '#d1ca77',
    500: '#b8b43a',
    950: '#000000',
  },
}
SCSS
$custom: #b8b43a;
$custom-light: #d1ca77;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b43a",
  "rgb": {
    "r": 184,
    "g": 180,
    "b": 58
  },
  "hsl": {
    "h": 58.095,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.75106,
    "c": 0.13997,
    "h": 107.5
  },
  "luminance": 0.43138
}

Semantic roles & 50–950 ramp

primary
#B8B43A
secondary
#8789C7
accent
#51DC4C
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B43A

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

Preview Lab → · Contrast checker → · Palette generator →

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