#B7A82E#B7A82E

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

Color values

HEX#B7A82E
RGBrgb(183, 168, 46)
HSLhsl(53, 60%, 45%)
HSVhsv(53, 75%, 72%)
CMYKcmyk(0%, 8.2%, 74.9%, 28.2%)
CIE-LABlab(68.22, -7.99, 60.82)
CIE-LCHlch(68.22, 61.34, 97.49°)
OKLaboklab(72.33% -0.0285 0.1337)
OKLCHoklch(72.33% 0.137 102)
XYZxyz(34.0258, 38.2713, 8.1791)
Luminance0.3827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A82E #2E3DB7
analogous
#B7642E #B7A82E #81B72E
triadic
#B7A82E #2EB7A8 #A82EB7
tetradic
#B7A82E #2EB764 #2E3DB7 #B72E81
square
#B7A82E #2EB764 #2E3DB7 #B72E81
split-complementary
#B7A82E #2E81B7 #642EB7
monochromatic
#554E15 #867B22 #B7A82E #D3C44F #DFD580

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7A82E#FFFFFF#000000##000000
##B7A82E1.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)
#B8A316
Deuteranopia (green-blind)
#BCA937
Tritanopia (blue-blind)
#C59C91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b7a82e;
/* rgb */ color: rgb(183, 168, 46);
/* oklch */ color: oklch(72.3% 0.137 102.0);
Tailwind
colors: {
  custom: {
    50: '#d0c170',
    500: '#b7a82e',
    950: '#000000',
  },
}
SCSS
$custom: #b7a82e;
$custom-light: #d0c170;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a82e",
  "rgb": {
    "r": 183,
    "g": 168,
    "b": 46
  },
  "hsl": {
    "h": 53.431,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72331,
    "c": 0.13667,
    "h": 102
  },
  "luminance": 0.3827
}

Semantic roles & 50–950 ramp

primary
#B7A82E
secondary
#7981C8
accent
#56E345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7A82E

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

Preview Lab → · Contrast checker → · Palette generator →

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