#B8AD2F#B8AD2F

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

Color values

HEX#B8AD2F
RGBrgb(184, 173, 47)
HSLhsl(55, 59%, 45%)
HSVhsv(55, 74%, 72%)
CMYKcmyk(0%, 6%, 74.5%, 27.8%)
CIE-LABlab(69.67, -10.12, 61.87)
CIE-LCHlch(69.67, 62.69, 99.29°)
OKLaboklab(73.51% -0.0345 0.136)
OKLCHoklch(73.51% 0.14 104.2)
XYZxyz(35.2254, 40.2841, 8.6089)
Luminance0.4028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AD2F #2F3AB8
analogous
#B8682F #B8AD2F #7FB82F
triadic
#B8AD2F #2FB8AD #AD2FB8
tetradic
#B8AD2F #2FB868 #2F3AB8 #B82F7F
square
#B8AD2F #2FB868 #2F3AB8 #B82F7F
split-complementary
#B8AD2F #2F7FB8 #682FB8
monochromatic
#575116 #877F23 #B8AD2F #D3C852 #DFD882

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8AD2F#FFFFFF#000000##000000
##B8AD2F1.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)
#BDA716
Deuteranopia (green-blind)
#C0AD38
Tritanopia (blue-blind)
#C6A195
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b8ad2f;
/* rgb */ color: rgb(184, 173, 47);
/* oklch */ color: oklch(73.5% 0.140 104.2);
Tailwind
colors: {
  custom: {
    50: '#d1c571',
    500: '#b8ad2f',
    950: '#000000',
  },
}
SCSS
$custom: #b8ad2f;
$custom-light: #d1c571;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ad2f",
  "rgb": {
    "r": 184,
    "g": 173,
    "b": 47
  },
  "hsl": {
    "h": 55.182,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.73508,
    "c": 0.14034,
    "h": 104.2
  },
  "luminance": 0.40283
}

Semantic roles & 50–950 ramp

primary
#B8AD2F
secondary
#7B81C8
accent
#52E245
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8AD2F

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

Preview Lab → · Contrast checker → · Palette generator →

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