#B7B56F#B7B56F

#B7B56F is a light, moderate yellow. Relative luminance 0.443; OKLCH L 75.9% C 0.092 H 107.0°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#B7B56F
RGBrgb(183, 181, 111)
HSLhsl(58, 33%, 58%)
HSVhsv(58, 39%, 72%)
CMYKcmyk(0%, 1.1%, 39.3%, 28.2%)
CIE-LABlab(72.40, -9.76, 35.91)
CIE-LCHlch(72.40, 37.21, 105.20°)
OKLaboklab(75.87% -0.0267 0.0875)
OKLCHoklch(75.87% 0.092 107)
XYZxyz(38.9221, 44.2636, 21.5292)
Luminance0.4426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B56F #6F71B7
analogous
#B7916F #B7B56F #95B76F
triadic
#B7B56F #6FB7B5 #B56FB7
tetradic
#B7B56F #6FB791 #6F71B7 #B76F95
square
#B7B56F #6FB791 #6F71B7 #B76F95
split-complementary
#B7B56F #6F95B7 #916FB7
monochromatic
#727139 #9B994E #B7B56F #CBCA98 #E0DFC1

Accessibility & contrast

On white

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

On black

9.85
#B7B56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B56F
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B56F#FFFFFF#000000##000000
##B7B56F1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0B06A
Deuteranopia (green-blind)
#C1B372
Tritanopia (blue-blind)
#C1ADA4
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b7b56f;
/* rgb */ color: rgb(183, 181, 111);
/* oklch */ color: oklch(75.9% 0.092 107.0);
Tailwind
colors: {
  custom: {
    50: '#cecb99',
    500: '#b7b56f',
    950: '#000000',
  },
}
SCSS
$custom: #b7b56f;
$custom-light: #cecb99;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b56f",
  "rgb": {
    "r": 183,
    "g": 181,
    "b": 111
  },
  "hsl": {
    "h": 58.333,
    "s": 33.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.75869,
    "c": 0.09153,
    "h": 107
  },
  "luminance": 0.44263
}

Semantic roles & 50–950 ramp

primary
#B7B56F
secondary
#B2B3CF
accent
#61C95E
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14130E
muted
#82827E

Preview Lab

Preview with #B7B56F

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

Preview Lab → · Contrast checker → · Palette generator →

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