#B7B936#B7B936

#B7B936 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.1% C 0.148 H 110.3°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#B7B936
RGBrgb(183, 185, 54)
HSLhsl(61, 55%, 47%)
HSVhsv(61, 71%, 73%)
CMYKcmyk(1.1%, 0%, 70.8%, 27.5%)
CIE-LABlab(72.91, -16.38, 62.45)
CIE-LCHlch(72.91, 64.57, 104.70°)
OKLaboklab(76.09% -0.0513 0.1386)
OKLCHoklch(76.09% 0.148 110.3)
XYZxyz(37.5445, 45.0326, 10.2037)
Luminance0.4503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B936 #3836B9
analogous
#B97A36 #B7B936 #76B936
triadic
#B7B936 #36B7B9 #B936B7
tetradic
#B7B936 #36B97A #3836B9 #B93676
square
#B7B936 #36B97A #3836B9 #B93676
split-complementary
#B7B936 #3676B9 #7A36B9
monochromatic
#595A1A #888A28 #B7B936 #CED05D #DCDD8C

Accessibility & contrast

On white

2.10
#B7B936 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#B7B936 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B936
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B936#FFFFFF#000000##000000
##B7B9361.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B11F
Deuteranopia (green-blind)
#C9B540
Tritanopia (blue-blind)
#C4AD9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b7b936;
/* rgb */ color: rgb(183, 185, 54);
/* oklch */ color: oklch(76.1% 0.148 110.3);
Tailwind
colors: {
  custom: {
    50: '#d0cd76',
    500: '#b7b936',
    950: '#000000',
  },
}
SCSS
$custom: #b7b936;
$custom-light: #d0cd76;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b936",
  "rgb": {
    "r": 183,
    "g": 185,
    "b": 54
  },
  "hsl": {
    "h": 60.916,
    "s": 54.812,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76087,
    "c": 0.14778,
    "h": 110.3
  },
  "luminance": 0.45032
}

Semantic roles & 50–950 ramp

primary
#B7B936
secondary
#8483C8
accent
#4ADE4C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B936

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

Preview Lab → · Contrast checker → · Palette generator →

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