#B7B82E#B7B82E

#B7B82E is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.8% C 0.151 H 110.0°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#B7B82E
RGBrgb(183, 184, 46)
HSLhsl(60, 60%, 45%)
HSVhsv(60, 75%, 72%)
CMYKcmyk(0.5%, 0%, 75%, 27.8%)
CIE-LABlab(72.59, -16.24, 64.90)
CIE-LCHlch(72.59, 66.91, 104.05°)
OKLaboklab(75.82% -0.0517 0.1423)
OKLCHoklch(75.82% 0.151 110)
XYZxyz(37.1634, 44.5466, 9.2249)
Luminance0.4455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B82E #2F2EB8
analogous
#B8742E #B7B82E #72B82E
triadic
#B7B82E #2EB7B8 #B82EB7
tetradic
#B7B82E #2EB874 #2F2EB8 #B82E72
square
#B7B82E #2EB874 #2F2EB8 #B82E72
split-complementary
#B7B82E #2E72B8 #742EB8
monochromatic
#565616 #868722 #B7B82E #D2D350 #DFDF81

Accessibility & contrast

On white

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

On black

9.91
#B7B82E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B82E
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B82E#FFFFFF#000000##000000
##B7B82E1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B00C
Deuteranopia (green-blind)
#C8B439
Tritanopia (blue-blind)
#C4AC9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b7b82e;
/* rgb */ color: rgb(183, 184, 46);
/* oklch */ color: oklch(75.8% 0.151 110.0);
Tailwind
colors: {
  custom: {
    50: '#d0cd72',
    500: '#b7b82e',
    950: '#000000',
  },
}
SCSS
$custom: #b7b82e;
$custom-light: #d0cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b82e",
  "rgb": {
    "r": 183,
    "g": 184,
    "b": 46
  },
  "hsl": {
    "h": 60.435,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75816,
    "c": 0.15143,
    "h": 110
  },
  "luminance": 0.44546
}

Semantic roles & 50–950 ramp

primary
#B7B82E
secondary
#7A79C8
accent
#45E346
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B7B82E

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

Preview Lab → · Contrast checker → · Palette generator →

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