#B8AD3A#B8AD3A

#B8AD3A is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.6% C 0.133 H 103.8°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#B8AD3A
RGBrgb(184, 173, 58)
HSLhsl(55, 52%, 47%)
HSVhsv(55, 68%, 72%)
CMYKcmyk(0%, 6%, 68.5%, 27.8%)
CIE-LABlab(69.74, -9.58, 57.81)
CIE-LCHlch(69.74, 58.60, 99.41°)
OKLaboklab(73.59% -0.0318 0.1294)
OKLCHoklch(73.59% 0.133 103.8)
XYZxyz(35.4759, 40.3844, 9.9284)
Luminance0.4038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AD3A #3A45B8
analogous
#B86E3A #B8AD3A #84B83A
triadic
#B8AD3A #3AB8AD #AD3AB8
tetradic
#B8AD3A #3AB86E #3A45B8 #B83A84
square
#B8AD3A #3AB86E #3A45B8 #B83A84
split-complementary
#B8AD3A #3A84B8 #6E3AB8
monochromatic
#5B551D #89812B #B8AD3A #CDC462 #DCD590

Accessibility & contrast

On white

2.31
#B8AD3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#B8AD3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AD3A
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AD3A#FFFFFF#000000##000000
##B8AD3A1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA729
Deuteranopia (green-blind)
#C0AD41
Tritanopia (blue-blind)
#C6A196
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b8ad3a;
/* rgb */ color: rgb(184, 173, 58);
/* oklch */ color: oklch(73.6% 0.133 103.8);
Tailwind
colors: {
  custom: {
    50: '#d1c577',
    500: '#b8ad3a',
    950: '#000000',
  },
}
SCSS
$custom: #b8ad3a;
$custom-light: #d1c577;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ad3a",
  "rgb": {
    "r": 184,
    "g": 173,
    "b": 58
  },
  "hsl": {
    "h": 54.762,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.73587,
    "c": 0.1333,
    "h": 103.8
  },
  "luminance": 0.40383
}

Semantic roles & 50–950 ramp

primary
#B8AD3A
secondary
#878CC7
accent
#59DC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8AD3A

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

Preview Lab → · Contrast checker → · Palette generator →

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