#B8B64F#B8B64F

#B8B64F is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.7% C 0.125 H 108.0°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#B8B64F
RGBrgb(184, 182, 79)
HSLhsl(59, 43%, 52%)
HSVhsv(59, 57%, 72%)
CMYKcmyk(0%, 1.1%, 57.1%, 27.8%)
CIE-LABlab(72.37, -12.86, 51.58)
CIE-LCHlch(72.37, 53.16, 104.00°)
OKLaboklab(75.74% -0.0388 0.1193)
OKLCHoklch(75.74% 0.125 108)
XYZxyz(37.9075, 44.2118, 13.9325)
Luminance0.4421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B64F #4F51B8
analogous
#B8824F #B8B64F #86B84F
triadic
#B8B64F #4FB8B6 #B64FB8
tetradic
#B8B64F #4FB882 #4F51B8 #B84F86
square
#B8B64F #4FB882 #4F51B8 #B84F86
split-complementary
#B8B64F #4F86B8 #824FB8
monochromatic
#646328 #908E3A #B8B64F #CAC87B #DBDAA6

Accessibility & contrast

On white

2.13
#B8B64F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#B8B64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B64F
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B64F#FFFFFF#000000##000000
##B8B64F1.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF44
Deuteranopia (green-blind)
#C5B355
Tritanopia (blue-blind)
#C4ABA0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b8b64f;
/* rgb */ color: rgb(184, 182, 79);
/* oklch */ color: oklch(75.7% 0.125 108.0);
Tailwind
colors: {
  custom: {
    50: '#d0cb84',
    500: '#b8b64f',
    950: '#000000',
  },
}
SCSS
$custom: #b8b64f;
$custom-light: #d0cb84;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b64f",
  "rgb": {
    "r": 184,
    "g": 182,
    "b": 79
  },
  "hsl": {
    "h": 58.857,
    "s": 42.51,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75736,
    "c": 0.12547,
    "h": 108
  },
  "luminance": 0.44211
}

Semantic roles & 50–950 ramp

primary
#B8B64F
secondary
#9A9BC8
accent
#58D256
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #B8B64F

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

Preview Lab → · Contrast checker → · Palette generator →

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