#B8A93B#B8A93B

#B8A93B is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.7% C 0.129 H 101.5°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#B8A93B
RGBrgb(184, 169, 59)
HSLhsl(53, 51%, 48%)
HSVhsv(53, 68%, 72%)
CMYKcmyk(0%, 8.2%, 67.9%, 27.8%)
CIE-LABlab(68.67, -7.43, 56.31)
CIE-LCHlch(68.67, 56.80, 97.52°)
OKLaboklab(72.74% -0.0256 0.1264)
OKLCHoklch(72.74% 0.129 101.5)
XYZxyz(34.7460, 38.8835, 9.8119)
Luminance0.3888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A93B #3B4AB8
analogous
#B86A3B #B8A93B #88B83B
triadic
#B8A93B #3BB8A9 #A93BB8
tetradic
#B8A93B #3BB86A #3B4AB8 #B83B88
square
#B8A93B #3BB86A #3B4AB8 #B83B88
split-complementary
#B8A93B #3B88B8 #6A3BB8
monochromatic
#5B541D #8A7E2C #B8A93B #CDC063 #DCD392

Accessibility & contrast

On white

2.39
#B8A93B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#B8A93B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A93B
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A93B#FFFFFF#000000##000000
##B8A93B1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A42C
Deuteranopia (green-blind)
#BDAA42
Tritanopia (blue-blind)
#C69D93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a93b;
/* rgb */ color: rgb(184, 169, 59);
/* oklch */ color: oklch(72.7% 0.129 101.5);
Tailwind
colors: {
  custom: {
    50: '#d1c277',
    500: '#b8a93b',
    950: '#000000',
  },
}
SCSS
$custom: #b8a93b;
$custom-light: #d1c277;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a93b",
  "rgb": {
    "r": 184,
    "g": 169,
    "b": 59
  },
  "hsl": {
    "h": 52.8,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72735,
    "c": 0.12901,
    "h": 101.5
  },
  "luminance": 0.38882
}

Semantic roles & 50–950 ramp

primary
#B8A93B
secondary
#888FC7
accent
#5EDB4D
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A93B

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

Preview Lab → · Contrast checker → · Palette generator →

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