#B8B36F#B8B36F

#B8B36F is a light, moderate yellow. Relative luminance 0.436; OKLCH L 75.5% C 0.089 H 104.7°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#B8B36F
RGBrgb(184, 179, 111)
HSLhsl(56, 34%, 58%)
HSVhsv(56, 40%, 72%)
CMYKcmyk(0%, 2.7%, 39.7%, 27.8%)
CIE-LABlab(71.95, -8.31, 35.34)
CIE-LCHlch(71.95, 36.30, 103.23°)
OKLaboklab(75.53% -0.0226 0.0862)
OKLCHoklch(75.53% 0.089 104.7)
XYZxyz(38.7571, 43.5792, 21.4058)
Luminance0.4358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B36F #6F74B8
analogous
#B88E6F #B8B36F #99B86F
triadic
#B8B36F #6FB8B3 #B36FB8
tetradic
#B8B36F #6FB88E #6F74B8 #B86F99
square
#B8B36F #6FB88E #6F74B8 #B86F99
split-complementary
#B8B36F #6F99B8 #8E6FB8
monochromatic
#747039 #9D974D #B8B36F #CCC998 #E0DEC1

Accessibility & contrast

On white

2.16
#B8B36F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#B8B36F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B36F
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B36F#FFFFFF#000000##000000
##B8B36F1.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAE6A
Deuteranopia (green-blind)
#C0B272
Tritanopia (blue-blind)
#C2ABA2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b8b36f;
/* rgb */ color: rgb(184, 179, 111);
/* oklch */ color: oklch(75.5% 0.089 104.7);
Tailwind
colors: {
  custom: {
    50: '#cec999',
    500: '#b8b36f',
    950: '#000000',
  },
}
SCSS
$custom: #b8b36f;
$custom-light: #cec999;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b36f",
  "rgb": {
    "r": 184,
    "g": 179,
    "b": 111
  },
  "hsl": {
    "h": 55.89,
    "s": 33.953,
    "l": 57.843
  },
  "oklch": {
    "l": 0.75526,
    "c": 0.08915,
    "h": 104.7
  },
  "luminance": 0.43578
}

Semantic roles & 50–950 ramp

primary
#B8B36F
secondary
#B3B5D0
accent
#65CA5E
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14130E
muted
#82827E

Preview Lab

Preview with #B8B36F

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

Preview Lab → · Contrast checker → · Palette generator →

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