#B7B140#B7B140

#B7B140 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.4% C 0.133 H 106.3°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#B7B140
RGBrgb(183, 177, 64)
HSLhsl(57, 48%, 48%)
HSVhsv(57, 65%, 72%)
CMYKcmyk(0%, 3.3%, 65%, 28.2%)
CIE-LABlab(70.79, -11.74, 56.41)
CIE-LCHlch(70.79, 57.62, 101.76°)
OKLaboklab(74.41% -0.0372 0.1275)
OKLCHoklch(74.41% 0.133 106.3)
XYZxyz(36.1773, 41.8829, 11.0280)
Luminance0.4188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B140 #4046B7
analogous
#B77540 #B7B140 #81B740
triadic
#B7B140 #40B7B1 #B140B7
tetradic
#B7B140 #40B775 #4046B7 #B74081
square
#B7B140 #40B775 #4046B7 #B74081
split-complementary
#B7B140 #4081B7 #7540B7
monochromatic
#5C5920 #8A8530 #B7B140 #CBC669 #DBD797

Accessibility & contrast

On white

2.24
#B7B140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#B7B140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B140
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B140#FFFFFF#000000##000000
##B7B1401.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB31
Deuteranopia (green-blind)
#C2AF47
Tritanopia (blue-blind)
#C4A69A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b7b140;
/* rgb */ color: rgb(183, 177, 64);
/* oklch */ color: oklch(74.4% 0.133 106.3);
Tailwind
colors: {
  custom: {
    50: '#d0c87b',
    500: '#b7b140',
    950: '#000000',
  },
}
SCSS
$custom: #b7b140;
$custom-light: #d0c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b140",
  "rgb": {
    "r": 183,
    "g": 177,
    "b": 64
  },
  "hsl": {
    "h": 56.975,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.74415,
    "c": 0.13282,
    "h": 106.3
  },
  "luminance": 0.41882
}

Semantic roles & 50–950 ramp

primary
#B7B140
secondary
#8D8FC6
accent
#57D850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B7B140

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

Preview Lab → · Contrast checker → · Palette generator →

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