#B8A82F#B8A82F

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

Color values

HEX#B8A82F
RGBrgb(184, 168, 47)
HSLhsl(53, 59%, 45%)
HSVhsv(53, 74%, 72%)
CMYKcmyk(0%, 8.7%, 74.5%, 27.8%)
CIE-LABlab(68.32, -7.51, 60.59)
CIE-LCHlch(68.32, 61.05, 97.06°)
OKLaboklab(72.43% -0.0271 0.1333)
OKLCHoklch(72.43% 0.136 101.5)
XYZxyz(34.2845, 38.4024, 8.2953)
Luminance0.3840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A82F #2F3FB8
analogous
#B8642F #B8A82F #83B82F
triadic
#B8A82F #2FB8A8 #A82FB8
tetradic
#B8A82F #2FB864 #2F3FB8 #B82F83
square
#B8A82F #2FB864 #2F3FB8 #B82F83
split-complementary
#B8A82F #2F83B8 #642FB8
monochromatic
#574F16 #877B23 #B8A82F #D3C452 #DFD482

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A82F#FFFFFF#000000##000000
##B8A82F1.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)
#B8A318
Deuteranopia (green-blind)
#BDA937
Tritanopia (blue-blind)
#C69C91
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a82f;
/* rgb */ color: rgb(184, 168, 47);
/* oklch */ color: oklch(72.4% 0.136 101.5);
Tailwind
colors: {
  custom: {
    50: '#d1c171',
    500: '#b8a82f',
    950: '#000000',
  },
}
SCSS
$custom: #b8a82f;
$custom-light: #d1c171;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a82f",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 47
  },
  "hsl": {
    "h": 52.993,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.72431,
    "c": 0.13605,
    "h": 101.5
  },
  "luminance": 0.38401
}

Semantic roles & 50–950 ramp

primary
#B8A82F
secondary
#7B84C8
accent
#58E245
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8A82F

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

Preview Lab → · Contrast checker → · Palette generator →

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