#B8AD2B#B8AD2B

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

Color values

HEX#B8AD2B
RGBrgb(184, 173, 43)
HSLhsl(55, 62%, 45%)
HSVhsv(55, 77%, 72%)
CMYKcmyk(0%, 6%, 76.6%, 27.8%)
CIE-LABlab(69.65, -10.29, 63.20)
CIE-LCHlch(69.65, 64.03, 99.25°)
OKLaboklab(73.48% -0.0353 0.1381)
OKLCHoklch(73.48% 0.143 104.4)
XYZxyz(35.1483, 40.2533, 8.2033)
Luminance0.4025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AD2B #2B36B8
analogous
#B8672B #B8AD2B #7DB82B
triadic
#B8AD2B #2BB8AD #AD2BB8
tetradic
#B8AD2B #2BB867 #2B36B8 #B82B7D
square
#B8AD2B #2BB867 #2B36B8 #B82B7D
split-complementary
#B8AD2B #2B7DB8 #672BB8
monochromatic
#555014 #867E1F #B8AD2B #D5CA4B #E1D97D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8AD2B#FFFFFF#000000##000000
##B8AD2B1.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)
#BDA70B
Deuteranopia (green-blind)
#C1AD35
Tritanopia (blue-blind)
#C6A195
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b8ad2b;
/* rgb */ color: rgb(184, 173, 43);
/* oklch */ color: oklch(73.5% 0.143 104.4);
Tailwind
colors: {
  custom: {
    50: '#d1c56f',
    500: '#b8ad2b',
    950: '#000000',
  },
}
SCSS
$custom: #b8ad2b;
$custom-light: #d1c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ad2b",
  "rgb": {
    "r": 184,
    "g": 173,
    "b": 43
  },
  "hsl": {
    "h": 55.319,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73484,
    "c": 0.14256,
    "h": 104.4
  },
  "luminance": 0.40252
}

Semantic roles & 50–950 ramp

primary
#B8AD2B
secondary
#767CC9
accent
#4FE543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8AD2B

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

Preview Lab → · Contrast checker → · Palette generator →

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