#B8AD2D#B8AD2D

#B8AD2D 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.05:1 contrast (WCAG AA passes).

Color values

HEX#B8AD2D
RGBrgb(184, 173, 45)
HSLhsl(55, 61%, 45%)
HSVhsv(55, 76%, 72%)
CMYKcmyk(0%, 6%, 75.5%, 27.8%)
CIE-LABlab(69.66, -10.21, 62.55)
CIE-LCHlch(69.66, 63.37, 99.27°)
OKLaboklab(73.5% -0.0349 0.1371)
OKLCHoklch(73.5% 0.141 104.3)
XYZxyz(35.1859, 40.2684, 8.4013)
Luminance0.4027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AD2D #2D38B8
analogous
#B8682D #B8AD2D #7DB82D
triadic
#B8AD2D #2DB8AD #AD2DB8
tetradic
#B8AD2D #2DB868 #2D38B8 #B82D7D
square
#B8AD2D #2DB868 #2D38B8 #B82D7D
split-complementary
#B8AD2D #2D7DB8 #682DB8
monochromatic
#565115 #877F21 #B8AD2D #D4C94E #E0D880

Accessibility & contrast

On white

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

On black

9.05
#B8AD2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AD2D
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AD2D#FFFFFF#000000##000000
##B8AD2D1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8ad2d;
/* rgb */ color: rgb(184, 173, 45);
/* oklch */ color: oklch(73.5% 0.141 104.3);
Tailwind
colors: {
  custom: {
    50: '#d1c570',
    500: '#b8ad2d',
    950: '#000000',
  },
}
SCSS
$custom: #b8ad2d;
$custom-light: #d1c570;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ad2d",
  "rgb": {
    "r": 184,
    "g": 173,
    "b": 45
  },
  "hsl": {
    "h": 55.252,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.73496,
    "c": 0.14148,
    "h": 104.3
  },
  "luminance": 0.40267
}

Semantic roles & 50–950 ramp

primary
#B8AD2D
secondary
#787FC9
accent
#51E444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8AD2D

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

Preview Lab → · Contrast checker → · Palette generator →

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