#B7B149#B7B149

#B7B149 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.5% C 0.126 H 106.0°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#B7B149
RGBrgb(183, 177, 73)
HSLhsl(57, 43%, 50%)
HSVhsv(57, 60%, 72%)
CMYKcmyk(0%, 3.3%, 60.1%, 28.2%)
CIE-LABlab(70.87, -11.15, 52.60)
CIE-LCHlch(70.87, 53.77, 101.96°)
OKLaboklab(74.5% -0.0345 0.1207)
OKLCHoklch(74.5% 0.126 106)
XYZxyz(36.4544, 41.9938, 12.4874)
Luminance0.4199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B149 #494FB7
analogous
#B77A49 #B7B149 #86B749
triadic
#B7B149 #49B7B1 #B149B7
tetradic
#B7B149 #49B77A #494FB7 #B74986
square
#B7B149 #49B77A #494FB7 #B74986
split-complementary
#B7B149 #4986B7 #7A49B7
monochromatic
#605D26 #8C8737 #B7B149 #C8C475 #DAD7A1

Accessibility & contrast

On white

2.23
#B7B149 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#B7B149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B149
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B149#FFFFFF#000000##000000
##B7B1491.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB3D
Deuteranopia (green-blind)
#C2B04F
Tritanopia (blue-blind)
#C4A69B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b7b149;
/* rgb */ color: rgb(183, 177, 73);
/* oklch */ color: oklch(74.5% 0.126 106.0);
Tailwind
colors: {
  custom: {
    50: '#cfc880',
    500: '#b7b149',
    950: '#000000',
  },
}
SCSS
$custom: #b7b149;
$custom-light: #cfc880;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b149",
  "rgb": {
    "r": 183,
    "g": 177,
    "b": 73
  },
  "hsl": {
    "h": 56.727,
    "s": 43.307,
    "l": 50.196
  },
  "oklch": {
    "l": 0.745,
    "c": 0.12559,
    "h": 106
  },
  "luminance": 0.41993
}

Semantic roles & 50–950 ramp

primary
#B7B149
secondary
#9598C6
accent
#5CD355
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #B7B149

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

Preview Lab → · Contrast checker → · Palette generator →

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