#B8B36B#B8B36B

#B8B36B is a light, moderate yellow. Relative luminance 0.435; OKLCH L 75.5% C 0.094 H 105.0°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#B8B36B
RGBrgb(184, 179, 107)
HSLhsl(56, 35%, 57%)
HSVhsv(56, 42%, 72%)
CMYKcmyk(0%, 2.7%, 41.8%, 27.8%)
CIE-LABlab(71.89, -8.74, 37.33)
CIE-LCHlch(71.89, 38.34, 103.18°)
OKLaboklab(75.46% -0.0242 0.0905)
OKLCHoklch(75.46% 0.094 105)
XYZxyz(38.5418, 43.4931, 20.2718)
Luminance0.4349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B36B #6B70B8
analogous
#B88D6B #B8B36B #97B86B
triadic
#B8B36B #6BB8B3 #B36BB8
tetradic
#B8B36B #6BB88D #6B70B8 #B86B97
square
#B8B36B #6BB88D #6B70B8 #B86B97
split-complementary
#B8B36B #6B97B8 #8D6BB8
monochromatic
#726E37 #9B964B #B8B36B #CCC894 #E0DDBE

Accessibility & contrast

On white

2.17
#B8B36B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#B8B36B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B36B
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B36B#FFFFFF#000000##000000
##B8B36B1.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAE65
Deuteranopia (green-blind)
#C1B26E
Tritanopia (blue-blind)
#C2AAA1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b8b36b;
/* rgb */ color: rgb(184, 179, 107);
/* oklch */ color: oklch(75.5% 0.094 105.0);
Tailwind
colors: {
  custom: {
    50: '#cec996',
    500: '#b8b36b',
    950: '#000000',
  },
}
SCSS
$custom: #b8b36b;
$custom-light: #cec996;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b36b",
  "rgb": {
    "r": 184,
    "g": 179,
    "b": 107
  },
  "hsl": {
    "h": 56.104,
    "s": 35.16,
    "l": 57.059
  },
  "oklch": {
    "l": 0.75461,
    "c": 0.09372,
    "h": 105
  },
  "luminance": 0.43492
}

Semantic roles & 50–950 ramp

primary
#B8B36B
secondary
#B0B2CF
accent
#64CB5D
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14130D
muted
#82827E

Preview Lab

Preview with #B8B36B

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

Preview Lab → · Contrast checker → · Palette generator →

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