#B8B34C#B8B34C

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

Color values

HEX#B8B34C
RGBrgb(184, 179, 76)
HSLhsl(57, 43%, 51%)
HSVhsv(57, 59%, 72%)
CMYKcmyk(0%, 2.7%, 58.7%, 27.8%)
CIE-LABlab(71.52, -11.54, 52.00)
CIE-LCHlch(71.52, 53.26, 102.51°)
OKLaboklab(75.05% -0.0354 0.1198)
OKLCHoklch(75.05% 0.125 106.5)
XYZxyz(37.1929, 42.9535, 13.1677)
Luminance0.4295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B34C #4C51B8
analogous
#B87D4C #B8B34C #87B84C
triadic
#B8B34C #4CB8B3 #B34CB8
tetradic
#B8B34C #4CB87D #4C51B8 #B84C87
square
#B8B34C #4CB87D #4C51B8 #B84C87
split-complementary
#B8B34C #4C87B8 #7D4CB8
monochromatic
#636027 #8E8A38 #B8B34C #C9C678 #DBD8A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8B34C#FFFFFF#000000##000000
##B8B34C1.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)
#C1AD41
Deuteranopia (green-blind)
#C3B152
Tritanopia (blue-blind)
#C4A89D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8b34c;
/* rgb */ color: rgb(184, 179, 76);
/* oklch */ color: oklch(75.1% 0.125 106.5);
Tailwind
colors: {
  custom: {
    50: '#d0c982',
    500: '#b8b34c',
    950: '#000000',
  },
}
SCSS
$custom: #b8b34c;
$custom-light: #d0c982;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b34c",
  "rgb": {
    "r": 184,
    "g": 179,
    "b": 76
  },
  "hsl": {
    "h": 57.222,
    "s": 43.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.75053,
    "c": 0.12495,
    "h": 106.5
  },
  "luminance": 0.42952
}

Semantic roles & 50–950 ramp

primary
#B8B34C
secondary
#989AC8
accent
#5BD355
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #B8B34C

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

Preview Lab → · Contrast checker → · Palette generator →

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