#B9B738#B9B738

#B9B738 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.8% C 0.144 H 108.5°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#B9B738
RGBrgb(185, 183, 56)
HSLhsl(59, 54%, 47%)
HSVhsv(59, 70%, 73%)
CMYKcmyk(0%, 1.1%, 69.7%, 27.5%)
CIE-LABlab(72.54, -14.41, 61.41)
CIE-LCHlch(72.54, 63.08, 103.21°)
OKLaboklab(75.83% -0.0457 0.1367)
OKLCHoklch(75.83% 0.144 108.5)
XYZxyz(37.6562, 44.4680, 10.3402)
Luminance0.4447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B738 #383AB9
analogous
#B97738 #B9B738 #7AB938
triadic
#B9B738 #38B9B7 #B738B9
tetradic
#B9B738 #38B977 #383AB9 #B9387A
square
#B9B738 #38B977 #383AB9 #B9387A
split-complementary
#B9B738 #387AB9 #7738B9
monochromatic
#5B5A1C #8A892A #B9B738 #CFCD5F #DDDC8E

Accessibility & contrast

On white

2.12
#B9B738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#B9B738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B738
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B738#FFFFFF#000000##000000
##B9B7381.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B023
Deuteranopia (green-blind)
#C8B441
Tritanopia (blue-blind)
#C6AB9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b9b738;
/* rgb */ color: rgb(185, 183, 56);
/* oklch */ color: oklch(75.8% 0.144 108.5);
Tailwind
colors: {
  custom: {
    50: '#d1cc77',
    500: '#b9b738',
    950: '#000000',
  },
}
SCSS
$custom: #b9b738;
$custom-light: #d1cc77;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b738",
  "rgb": {
    "r": 185,
    "g": 183,
    "b": 56
  },
  "hsl": {
    "h": 59.07,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.75832,
    "c": 0.14409,
    "h": 108.5
  },
  "luminance": 0.44467
}

Semantic roles & 50–950 ramp

primary
#B9B738
secondary
#8586C8
accent
#4DDD4B
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B9B738

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

Preview Lab → · Contrast checker → · Palette generator →

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