#B7B837#B7B837

#B7B837 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.9% C 0.146 H 109.9°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#B7B837
RGBrgb(183, 184, 55)
HSLhsl(60, 54%, 47%)
HSVhsv(60, 70%, 72%)
CMYKcmyk(0.5%, 0%, 70.1%, 27.8%)
CIE-LABlab(72.64, -15.83, 61.83)
CIE-LCHlch(72.64, 63.82, 104.36°)
OKLaboklab(75.87% -0.0497 0.1374)
OKLCHoklch(75.87% 0.146 109.9)
XYZxyz(37.3598, 44.6252, 10.2592)
Luminance0.4462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B837 #3837B8
analogous
#B87937 #B7B837 #77B837
triadic
#B7B837 #37B7B8 #B837B7
tetradic
#B7B837 #37B879 #3837B8 #B83777
square
#B7B837 #37B879 #3837B8 #B83777
split-complementary
#B7B837 #3777B8 #7937B8
monochromatic
#595A1B #888929 #B7B837 #CECF5D #DCDD8D

Accessibility & contrast

On white

2.12
#B7B837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#B7B837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B837
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B837#FFFFFF#000000##000000
##B7B8371.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B021
Deuteranopia (green-blind)
#C8B440
Tritanopia (blue-blind)
#C4AC9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b7b837;
/* rgb */ color: rgb(183, 184, 55);
/* oklch */ color: oklch(75.9% 0.146 109.9);
Tailwind
colors: {
  custom: {
    50: '#d0cd76',
    500: '#b7b837',
    950: '#000000',
  },
}
SCSS
$custom: #b7b837;
$custom-light: #d0cd76;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b837",
  "rgb": {
    "r": 183,
    "g": 184,
    "b": 55
  },
  "hsl": {
    "h": 60.465,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.75874,
    "c": 0.14613,
    "h": 109.9
  },
  "luminance": 0.44624
}

Semantic roles & 50–950 ramp

primary
#B7B837
secondary
#8484C7
accent
#4ADD4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B837

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

Preview Lab → · Contrast checker → · Palette generator →

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