#B8AD2E#B8AD2E

#B8AD2E is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.5% C 0.141 H 104.3°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#B8AD2E
RGBrgb(184, 173, 46)
HSLhsl(55, 60%, 45%)
HSVhsv(55, 75%, 72%)
CMYKcmyk(0%, 6%, 75%, 27.8%)
CIE-LABlab(69.67, -10.17, 62.21)
CIE-LCHlch(69.67, 63.03, 99.28°)
OKLaboklab(73.5% -0.0347 0.1366)
OKLCHoklch(73.5% 0.141 104.3)
XYZxyz(35.2054, 40.2762, 8.5039)
Luminance0.4027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AD2E #2E39B8
analogous
#B8682E #B8AD2E #7EB82E
triadic
#B8AD2E #2EB8AD #AD2EB8
tetradic
#B8AD2E #2EB868 #2E39B8 #B82E7E
square
#B8AD2E #2EB868 #2E39B8 #B82E7E
split-complementary
#B8AD2E #2E7EB8 #682EB8
monochromatic
#565116 #877F22 #B8AD2E #D3C950 #DFD881

Accessibility & contrast

On white

2.32
#B8AD2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#B8AD2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AD2E
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AD2E#FFFFFF#000000##000000
##B8AD2E1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA714
Deuteranopia (green-blind)
#C0AD37
Tritanopia (blue-blind)
#C6A195
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b8ad2e;
/* rgb */ color: rgb(184, 173, 46);
/* oklch */ color: oklch(73.5% 0.141 104.3);
Tailwind
colors: {
  custom: {
    50: '#d1c571',
    500: '#b8ad2e',
    950: '#000000',
  },
}
SCSS
$custom: #b8ad2e;
$custom-light: #d1c571;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ad2e",
  "rgb": {
    "r": 184,
    "g": 173,
    "b": 46
  },
  "hsl": {
    "h": 55.217,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.73502,
    "c": 0.14091,
    "h": 104.3
  },
  "luminance": 0.40275
}

Semantic roles & 50–950 ramp

primary
#B8AD2E
secondary
#7980C8
accent
#51E345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8AD2E

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

Preview Lab → · Contrast checker → · Palette generator →

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