#B7B82F#B7B82F

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

Color values

HEX#B7B82F
RGBrgb(183, 184, 47)
HSLhsl(60, 59%, 45%)
HSVhsv(60, 74%, 72%)
CMYKcmyk(0.5%, 0%, 74.5%, 27.8%)
CIE-LABlab(72.60, -16.20, 64.58)
CIE-LCHlch(72.60, 66.58, 104.08°)
OKLaboklab(75.82% -0.0515 0.1418)
OKLCHoklch(75.82% 0.151 109.9)
XYZxyz(37.1834, 44.5546, 9.3300)
Luminance0.4455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B82F #302FB8
analogous
#B8742F #B7B82F #72B82F
triadic
#B7B82F #2FB7B8 #B82FB7
tetradic
#B7B82F #2FB874 #302FB8 #B82F72
square
#B7B82F #2FB874 #302FB8 #B82F72
split-complementary
#B7B82F #2F72B8 #742FB8
monochromatic
#565716 #878723 #B7B82F #D2D352 #DEDF82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7B82F#FFFFFF#000000##000000
##B7B82F1.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)
#C7B010
Deuteranopia (green-blind)
#C8B43A
Tritanopia (blue-blind)
#C4AC9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b7b82f;
/* rgb */ color: rgb(183, 184, 47);
/* oklch */ color: oklch(75.8% 0.151 109.9);
Tailwind
colors: {
  custom: {
    50: '#d0cd72',
    500: '#b7b82f',
    950: '#000000',
  },
}
SCSS
$custom: #b7b82f;
$custom-light: #d0cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b82f",
  "rgb": {
    "r": 183,
    "g": 184,
    "b": 47
  },
  "hsl": {
    "h": 60.438,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75821,
    "c": 0.15088,
    "h": 109.9
  },
  "luminance": 0.44553
}

Semantic roles & 50–950 ramp

primary
#B7B82F
secondary
#7B7BC8
accent
#45E246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B82F

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

Preview Lab → · Contrast checker → · Palette generator →

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