#B7B82D#B7B82D

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

Color values

HEX#B7B82D
RGBrgb(183, 184, 45)
HSLhsl(60, 61%, 45%)
HSVhsv(60, 76%, 72%)
CMYKcmyk(0.5%, 0%, 75.5%, 27.8%)
CIE-LABlab(72.59, -16.29, 65.22)
CIE-LCHlch(72.59, 67.22, 104.02°)
OKLaboklab(75.81% -0.0519 0.1428)
OKLCHoklch(75.81% 0.152 110)
XYZxyz(37.1439, 44.5388, 9.1223)
Luminance0.4454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B82D #2E2DB8
analogous
#B8742D #B7B82D #71B82D
triadic
#B7B82D #2DB7B8 #B82DB7
tetradic
#B7B82D #2DB874 #2E2DB8 #B82D71
square
#B7B82D #2DB874 #2E2DB8 #B82D71
split-complementary
#B7B82D #2D71B8 #742DB8
monochromatic
#555615 #868721 #B7B82D #D3D44E #DFE080

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7B82D#FFFFFF#000000##000000
##B7B82D1.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)
#C7B009
Deuteranopia (green-blind)
#C8B439
Tritanopia (blue-blind)
#C4AC9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b7b82d;
/* rgb */ color: rgb(183, 184, 45);
/* oklch */ color: oklch(75.8% 0.152 110.0);
Tailwind
colors: {
  custom: {
    50: '#d0cd71',
    500: '#b7b82d',
    950: '#000000',
  },
}
SCSS
$custom: #b7b82d;
$custom-light: #d0cd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b82d",
  "rgb": {
    "r": 183,
    "g": 184,
    "b": 45
  },
  "hsl": {
    "h": 60.432,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.7581,
    "c": 0.15196,
    "h": 110
  },
  "luminance": 0.44538
}

Semantic roles & 50–950 ramp

primary
#B7B82D
secondary
#7978C9
accent
#44E445
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B7B82D

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

Preview Lab → · Contrast checker → · Palette generator →

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