#B7B82C#B7B82C

#B7B82C 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#B7B82C
RGBrgb(183, 184, 44)
HSLhsl(60, 61%, 45%)
HSVhsv(60, 76%, 72%)
CMYKcmyk(0.5%, 0%, 76.1%, 27.8%)
CIE-LABlab(72.58, -16.33, 65.53)
CIE-LCHlch(72.58, 67.54, 103.99°)
OKLaboklab(75.8% -0.0521 0.1433)
OKLCHoklch(75.8% 0.152 110)
XYZxyz(37.1249, 44.5312, 9.0222)
Luminance0.4453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B82C #2D2CB8
analogous
#B8732C #B7B82C #71B82C
triadic
#B7B82C #2CB7B8 #B82CB7
tetradic
#B7B82C #2CB873 #2D2CB8 #B82C71
square
#B7B82C #2CB873 #2D2CB8 #B82C71
split-complementary
#B7B82C #2C71B8 #732CB8
monochromatic
#555514 #868720 #B7B82C #D3D44D #DFE07E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7B82C#FFFFFF#000000##000000
##B7B82C1.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)
#C7B005
Deuteranopia (green-blind)
#C8B438
Tritanopia (blue-blind)
#C4AC9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b7b82c;
/* rgb */ color: rgb(183, 184, 44);
/* oklch */ color: oklch(75.8% 0.152 110.0);
Tailwind
colors: {
  custom: {
    50: '#d0cd71',
    500: '#b7b82c',
    950: '#000000',
  },
}
SCSS
$custom: #b7b82c;
$custom-light: #d0cd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b82c",
  "rgb": {
    "r": 183,
    "g": 184,
    "b": 44
  },
  "hsl": {
    "h": 60.429,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.75804,
    "c": 0.15248,
    "h": 110
  },
  "luminance": 0.4453
}

Semantic roles & 50–950 ramp

primary
#B7B82C
secondary
#7877C9
accent
#43E544
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B7B82C

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

Preview Lab → · Contrast checker → · Palette generator →

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