#B8B43E#B8B43E

#B8B43E is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.1% C 0.137 H 107.4°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#B8B43E
RGBrgb(184, 180, 62)
HSLhsl(58, 50%, 48%)
HSVhsv(58, 66%, 72%)
CMYKcmyk(0%, 2.2%, 66.3%, 27.8%)
CIE-LABlab(71.68, -12.98, 58.18)
CIE-LCHlch(71.68, 59.61, 102.57°)
OKLaboklab(75.14% -0.041 0.1309)
OKLCHoklch(75.14% 0.137 107.4)
XYZxyz(36.9592, 43.1819, 10.9446)
Luminance0.4318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B43E #3E42B8
analogous
#B8773E #B8B43E #7FB83E
triadic
#B8B43E #3EB8B4 #B43EB8
tetradic
#B8B43E #3EB877 #3E42B8 #B83E7F
square
#B8B43E #3EB877 #3E42B8 #B83E7F
split-complementary
#B8B43E #3E7FB8 #773EB8
monochromatic
#5C5A1F #8A872F #B8B43E #CCC967 #DBD995

Accessibility & contrast

On white

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

On black

9.64
#B8B43E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B43E
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B43E#FFFFFF#000000##000000
##B8B43E1.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8b43e;
/* rgb */ color: rgb(184, 180, 62);
/* oklch */ color: oklch(75.1% 0.137 107.4);
Tailwind
colors: {
  custom: {
    50: '#d0ca7a',
    500: '#b8b43e',
    950: '#000000',
  },
}
SCSS
$custom: #b8b43e;
$custom-light: #d0ca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b43e",
  "rgb": {
    "r": 184,
    "g": 180,
    "b": 62
  },
  "hsl": {
    "h": 58.033,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.75138,
    "c": 0.13715,
    "h": 107.4
  },
  "luminance": 0.43181
}

Semantic roles & 50–950 ramp

primary
#B8B43E
secondary
#8B8DC7
accent
#53D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B8B43E

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

Preview Lab → · Contrast checker → · Palette generator →

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