#B9B038#B9B038

#B9B038 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.3% C 0.137 H 105.0°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#B9B038
RGBrgb(185, 176, 56)
HSLhsl(56, 54%, 47%)
HSVhsv(56, 70%, 73%)
CMYKcmyk(0%, 4.9%, 69.7%, 27.5%)
CIE-LABlab(70.63, -10.81, 59.52)
CIE-LCHlch(70.63, 60.49, 100.30°)
OKLaboklab(74.31% -0.0356 0.1327)
OKLCHoklch(74.31% 0.137 105)
XYZxyz(36.2482, 41.6518, 9.8708)
Luminance0.4165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B038 #3841B9
analogous
#B97038 #B9B038 #82B938
triadic
#B9B038 #38B9B0 #B038B9
tetradic
#B9B038 #38B970 #3841B9 #B93882
square
#B9B038 #38B970 #3841B9 #B93882
split-complementary
#B9B038 #3882B9 #7038B9
monochromatic
#5B571C #8A832A #B9B038 #CFC75F #DDD78E

Accessibility & contrast

On white

2.25
#B9B038 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#B9B038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B038
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B038#FFFFFF#000000##000000
##B9B0381.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA25
Deuteranopia (green-blind)
#C3AF40
Tritanopia (blue-blind)
#C7A498
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b9b038;
/* rgb */ color: rgb(185, 176, 56);
/* oklch */ color: oklch(74.3% 0.137 105.0);
Tailwind
colors: {
  custom: {
    50: '#d1c776',
    500: '#b9b038',
    950: '#000000',
  },
}
SCSS
$custom: #b9b038;
$custom-light: #d1c776;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b038",
  "rgb": {
    "r": 185,
    "g": 176,
    "b": 56
  },
  "hsl": {
    "h": 55.814,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.7431,
    "c": 0.13735,
    "h": 105
  },
  "luminance": 0.4165
}

Semantic roles & 50–950 ramp

primary
#B9B038
secondary
#858AC8
accent
#55DD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B9B038

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

Preview Lab → · Contrast checker → · Palette generator →

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