#B7B336#B7B336

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

Color values

HEX#B7B336
RGBrgb(183, 179, 54)
HSLhsl(58, 54%, 46%)
HSVhsv(58, 70%, 72%)
CMYKcmyk(0%, 2.2%, 70.5%, 28.2%)
CIE-LABlab(71.27, -13.33, 60.85)
CIE-LCHlch(71.27, 62.29, 102.35°)
OKLaboklab(74.77% -0.0428 0.1352)
OKLCHoklch(74.77% 0.142 107.6)
XYZxyz(36.3158, 42.5750, 9.7941)
Luminance0.4257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B336 #363AB7
analogous
#B77336 #B7B336 #7BB736
triadic
#B7B336 #36B7B3 #B336B7
tetradic
#B7B336 #36B773 #363AB7 #B7367B
square
#B7B336 #36B773 #363AB7 #B7367B
split-complementary
#B7B336 #367BB7 #7336B7
monochromatic
#58571A #888528 #B7B336 #CFCB5B #DDDA8B

Accessibility & contrast

On white

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

On black

9.51
#B7B336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B336
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B336#FFFFFF#000000##000000
##B7B3361.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC21
Deuteranopia (green-blind)
#C4B13F
Tritanopia (blue-blind)
#C4A79A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b7b336;
/* rgb */ color: rgb(183, 179, 54);
/* oklch */ color: oklch(74.8% 0.142 107.6);
Tailwind
colors: {
  custom: {
    50: '#d0c975',
    500: '#b7b336',
    950: '#000000',
  },
}
SCSS
$custom: #b7b336;
$custom-light: #d0c975;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b336",
  "rgb": {
    "r": 183,
    "g": 179,
    "b": 54
  },
  "hsl": {
    "h": 58.14,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.74771,
    "c": 0.14178,
    "h": 107.6
  },
  "luminance": 0.42574
}

Semantic roles & 50–950 ramp

primary
#B7B336
secondary
#8284C7
accent
#4FDE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B336

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

Preview Lab → · Contrast checker → · Palette generator →

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