#B9B03B#B9B03B

#B9B03B is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.3% C 0.135 H 104.9°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#B9B03B
RGBrgb(185, 176, 59)
HSLhsl(56, 52%, 48%)
HSVhsv(56, 68%, 73%)
CMYKcmyk(0%, 4.9%, 68.1%, 27.5%)
CIE-LABlab(70.65, -10.65, 58.36)
CIE-LCHlch(70.65, 59.33, 100.34°)
OKLaboklab(74.33% -0.0348 0.1307)
OKLCHoklch(74.33% 0.135 104.9)
XYZxyz(36.3238, 41.6821, 10.2689)
Luminance0.4168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B03B #3B44B9
analogous
#B9713B #B9B03B #83B93B
triadic
#B9B03B #3BB9B0 #B03BB9
tetradic
#B9B03B #3BB971 #3B44B9 #B93B83
square
#B9B03B #3BB971 #3B44B9 #B93B83
split-complementary
#B9B03B #3B83B9 #713BB9
monochromatic
#5C581D #8B842C #B9B03B #CDC664 #DCD792

Accessibility & contrast

On white

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

On black

9.34
#B9B03B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B03B
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B03B#FFFFFF#000000##000000
##B9B03B1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9b03b;
/* rgb */ color: rgb(185, 176, 59);
/* oklch */ color: oklch(74.3% 0.135 104.9);
Tailwind
colors: {
  custom: {
    50: '#d1c778',
    500: '#b9b03b',
    950: '#000000',
  },
}
SCSS
$custom: #b9b03b;
$custom-light: #d1c778;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b03b",
  "rgb": {
    "r": 185,
    "g": 176,
    "b": 59
  },
  "hsl": {
    "h": 55.714,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.74334,
    "c": 0.1353,
    "h": 104.9
  },
  "luminance": 0.41681
}

Semantic roles & 50–950 ramp

primary
#B9B03B
secondary
#888DC7
accent
#57DB4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B9B03B

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

Preview Lab → · Contrast checker → · Palette generator →

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