#B8A82C#B8A82C

#B8A82C is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.4% C 0.138 H 101.6°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#B8A82C
RGBrgb(184, 168, 44)
HSLhsl(53, 61%, 45%)
HSVhsv(53, 76%, 72%)
CMYKcmyk(0%, 8.7%, 76.1%, 27.8%)
CIE-LABlab(68.30, -7.64, 61.62)
CIE-LCHlch(68.30, 62.09, 97.07°)
OKLaboklab(72.41% -0.0278 0.1349)
OKLCHoklch(72.41% 0.138 101.6)
XYZxyz(34.2260, 38.3790, 7.9875)
Luminance0.3838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A82C #2C3CB8
analogous
#B8622C #B8A82C #82B82C
triadic
#B8A82C #2CB8A8 #A82CB8
tetradic
#B8A82C #2CB862 #2C3CB8 #B82C82
square
#B8A82C #2CB862 #2C3CB8 #B82C82
split-complementary
#B8A82C #2C82B8 #622CB8
monochromatic
#554E14 #877B20 #B8A82C #D4C54D #E0D57E

Accessibility & contrast

On white

2.42
#B8A82C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#B8A82C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A82C
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A82C#FFFFFF#000000##000000
##B8A82C1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A311
Deuteranopia (green-blind)
#BDA935
Tritanopia (blue-blind)
#C69C90
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b8a82c;
/* rgb */ color: rgb(184, 168, 44);
/* oklch */ color: oklch(72.4% 0.138 101.6);
Tailwind
colors: {
  custom: {
    50: '#d1c16f',
    500: '#b8a82c',
    950: '#000000',
  },
}
SCSS
$custom: #b8a82c;
$custom-light: #d1c16f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a82c",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 44
  },
  "hsl": {
    "h": 53.143,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72412,
    "c": 0.13776,
    "h": 101.6
  },
  "luminance": 0.38377
}

Semantic roles & 50–950 ramp

primary
#B8A82C
secondary
#7780C9
accent
#56E543
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8A82C

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

Preview Lab → · Contrast checker → · Palette generator →

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