#B7A82D#B7A82D

#B7A82D is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.3% C 0.137 H 102.1°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#B7A82D
RGBrgb(183, 168, 45)
HSLhsl(53, 61%, 45%)
HSVhsv(53, 75%, 72%)
CMYKcmyk(0%, 8.2%, 75.4%, 28.2%)
CIE-LABlab(68.21, -8.04, 61.16)
CIE-LCHlch(68.21, 61.69, 97.48°)
OKLaboklab(72.32% -0.0287 0.1342)
OKLCHoklch(72.32% 0.137 102.1)
XYZxyz(34.0063, 38.2635, 8.0765)
Luminance0.3826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A82D #2D3CB7
analogous
#B7632D #B7A82D #81B72D
triadic
#B7A82D #2DB7A8 #A82DB7
tetradic
#B7A82D #2DB763 #2D3CB7 #B72D81
square
#B7A82D #2DB763 #2D3CB7 #B72D81
split-complementary
#B7A82D #2D81B7 #632DB7
monochromatic
#554E15 #867B21 #B7A82D #D3C54E #DFD57F

Accessibility & contrast

On white

2.43
#B7A82D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#B7A82D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A82D
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A82D#FFFFFF#000000##000000
##B7A82D1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A314
Deuteranopia (green-blind)
#BCA936
Tritanopia (blue-blind)
#C59C90
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b7a82d;
/* rgb */ color: rgb(183, 168, 45);
/* oklch */ color: oklch(72.3% 0.137 102.1);
Tailwind
colors: {
  custom: {
    50: '#d0c16f',
    500: '#b7a82d',
    950: '#000000',
  },
}
SCSS
$custom: #b7a82d;
$custom-light: #d0c16f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a82d",
  "rgb": {
    "r": 183,
    "g": 168,
    "b": 45
  },
  "hsl": {
    "h": 53.478,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72325,
    "c": 0.13725,
    "h": 102.1
  },
  "luminance": 0.38262
}

Semantic roles & 50–950 ramp

primary
#B7A82D
secondary
#7880C8
accent
#55E444
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7A82D

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

Preview Lab → · Contrast checker → · Palette generator →

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