#B7B339#B7B339

#B7B339 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.8% C 0.140 H 107.5°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#B7B339
RGBrgb(183, 179, 57)
HSLhsl(58, 53%, 47%)
HSVhsv(58, 69%, 72%)
CMYKcmyk(0%, 2.2%, 68.9%, 28.2%)
CIE-LABlab(71.29, -13.17, 59.73)
CIE-LCHlch(71.29, 61.16, 102.44°)
OKLaboklab(74.79% -0.042 0.1334)
OKLCHoklch(74.79% 0.14 107.5)
XYZxyz(36.3884, 42.6041, 10.1767)
Luminance0.4260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B339 #393DB7
analogous
#B77439 #B7B339 #7CB739
triadic
#B7B339 #39B7B3 #B339B7
tetradic
#B7B339 #39B774 #393DB7 #B7397C
square
#B7B339 #39B774 #393DB7 #B7397C
split-complementary
#B7B339 #397CB7 #7439B7
monochromatic
#5A581C #88852A #B7B339 #CDCA60 #DCD98E

Accessibility & contrast

On white

2.21
#B7B339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#B7B339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B339
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B339#FFFFFF#000000##000000
##B7B3391.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC26
Deuteranopia (green-blind)
#C4B141
Tritanopia (blue-blind)
#C4A79B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b7b339;
/* rgb */ color: rgb(183, 179, 57);
/* oklch */ color: oklch(74.8% 0.140 107.5);
Tailwind
colors: {
  custom: {
    50: '#d0c977',
    500: '#b7b339',
    950: '#000000',
  },
}
SCSS
$custom: #b7b339;
$custom-light: #d0c977;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b339",
  "rgb": {
    "r": 183,
    "g": 179,
    "b": 57
  },
  "hsl": {
    "h": 58.095,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.74793,
    "c": 0.13981,
    "h": 107.5
  },
  "luminance": 0.42603
}

Semantic roles & 50–950 ramp

primary
#B7B339
secondary
#8587C7
accent
#50DC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B339

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

Preview Lab → · Contrast checker → · Palette generator →

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