#B8B76F#B8B76F

#B8B76F is a light, moderate yellow. Relative luminance 0.452; OKLCH L 76.4% C 0.094 H 107.7°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#B8B76F
RGBrgb(184, 183, 111)
HSLhsl(59, 34%, 58%)
HSVhsv(59, 40%, 72%)
CMYKcmyk(0%, 0.5%, 39.7%, 27.8%)
CIE-LABlab(73.03, -10.39, 36.71)
CIE-LCHlch(73.03, 38.16, 105.80°)
OKLaboklab(76.38% -0.0286 0.0894)
OKLCHoklch(76.38% 0.094 107.7)
XYZxyz(39.5705, 45.2059, 21.6769)
Luminance0.4521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B76F #6F70B8
analogous
#B8926F #B8B76F #94B86F
triadic
#B8B76F #6FB8B7 #B76FB8
tetradic
#B8B76F #6FB892 #6F70B8 #B86F94
square
#B8B76F #6FB892 #6F70B8 #B86F94
split-complementary
#B8B76F #6F94B8 #926FB8
monochromatic
#747339 #9D9C4D #B8B76F #CCCB98 #E0E0C1

Accessibility & contrast

On white

2.09
#B8B76F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#B8B76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B76F
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B76F#FFFFFF#000000##000000
##B8B76F1.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B269
Deuteranopia (green-blind)
#C3B572
Tritanopia (blue-blind)
#C2AFA5
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b8b76f;
/* rgb */ color: rgb(184, 183, 111);
/* oklch */ color: oklch(76.4% 0.094 107.7);
Tailwind
colors: {
  custom: {
    50: '#cecc99',
    500: '#b8b76f',
    950: '#000000',
  },
}
SCSS
$custom: #b8b76f;
$custom-light: #cecc99;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b76f",
  "rgb": {
    "r": 184,
    "g": 183,
    "b": 111
  },
  "hsl": {
    "h": 59.178,
    "s": 33.953,
    "l": 57.843
  },
  "oklch": {
    "l": 0.76384,
    "c": 0.09383,
    "h": 107.7
  },
  "luminance": 0.45205
}

Semantic roles & 50–950 ramp

primary
#B8B76F
secondary
#B3B3D0
accent
#5FCA5E
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14130E
muted
#82827E

Preview Lab

Preview with #B8B76F

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

Preview Lab → · Contrast checker → · Palette generator →

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