#B8B34D#B8B34D

#B8B34D is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.1% C 0.124 H 106.4°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#B8B34D
RGBrgb(184, 179, 77)
HSLhsl(57, 43%, 51%)
HSVhsv(57, 58%, 72%)
CMYKcmyk(0%, 2.7%, 58.2%, 27.8%)
CIE-LABlab(71.53, -11.47, 51.55)
CIE-LCHlch(71.53, 52.81, 102.54°)
OKLaboklab(75.06% -0.0351 0.119)
OKLCHoklch(75.06% 0.124 106.4)
XYZxyz(37.2280, 42.9675, 13.3523)
Luminance0.4297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B34D #4D52B8
analogous
#B87D4D #B8B34D #87B84D
triadic
#B8B34D #4DB8B3 #B34DB8
tetradic
#B8B34D #4DB87D #4D52B8 #B84D87
square
#B8B34D #4DB87D #4D52B8 #B84D87
split-complementary
#B8B34D #4D87B8 #7D4DB8
monochromatic
#636028 #8F8B39 #B8B34D #C9C679 #DBD8A4

Accessibility & contrast

On white

2.19
#B8B34D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#B8B34D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B34D
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B34D#FFFFFF#000000##000000
##B8B34D1.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD42
Deuteranopia (green-blind)
#C3B153
Tritanopia (blue-blind)
#C4A89D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8b34d;
/* rgb */ color: rgb(184, 179, 77);
/* oklch */ color: oklch(75.1% 0.124 106.4);
Tailwind
colors: {
  custom: {
    50: '#d0c983',
    500: '#b8b34d',
    950: '#000000',
  },
}
SCSS
$custom: #b8b34d;
$custom-light: #d0c983;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b34d",
  "rgb": {
    "r": 184,
    "g": 179,
    "b": 77
  },
  "hsl": {
    "h": 57.196,
    "s": 42.972,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75063,
    "c": 0.12407,
    "h": 106.4
  },
  "luminance": 0.42966
}

Semantic roles & 50–950 ramp

primary
#B8B34D
secondary
#999BC8
accent
#5BD355
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #B8B34D

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

Preview Lab → · Contrast checker → · Palette generator →

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