#B9B53A#B9B53A

#B9B53A is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.4% C 0.141 H 107.5°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#B9B53A
RGBrgb(185, 181, 58)
HSLhsl(58, 52%, 48%)
HSVhsv(58, 69%, 73%)
CMYKcmyk(0%, 2.2%, 68.6%, 27.5%)
CIE-LABlab(72.01, -13.28, 60.12)
CIE-LCHlch(72.01, 61.57, 102.46°)
OKLaboklab(75.41% -0.0423 0.1343)
OKLCHoklch(75.41% 0.141 107.5)
XYZxyz(37.2965, 43.6687, 10.4664)
Luminance0.4367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B53A #3A3EB9
analogous
#B9753A #B9B53A #7EB93A
triadic
#B9B53A #3AB9B5 #B53AB9
tetradic
#B9B53A #3AB975 #3A3EB9 #B93A7E
square
#B9B53A #3AB975 #3A3EB9 #B93A7E
split-complementary
#B9B53A #3A7EB9 #753AB9
monochromatic
#5C5A1D #8A872B #B9B53A #CECA62 #DCDA91

Accessibility & contrast

On white

2.16
#B9B53A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#B9B53A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B53A
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B53A#FFFFFF#000000##000000
##B9B53A1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE27
Deuteranopia (green-blind)
#C6B342
Tritanopia (blue-blind)
#C6A99C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b9b53a;
/* rgb */ color: rgb(185, 181, 58);
/* oklch */ color: oklch(75.4% 0.141 107.5);
Tailwind
colors: {
  custom: {
    50: '#d1ca78',
    500: '#b9b53a',
    950: '#000000',
  },
}
SCSS
$custom: #b9b53a;
$custom-light: #d1ca78;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b53a",
  "rgb": {
    "r": 185,
    "g": 181,
    "b": 58
  },
  "hsl": {
    "h": 58.11,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.75411,
    "c": 0.1408,
    "h": 107.5
  },
  "luminance": 0.43668
}

Semantic roles & 50–950 ramp

primary
#B9B53A
secondary
#8789C7
accent
#51DC4C
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B9B53A

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

Preview Lab → · Contrast checker → · Palette generator →

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