#B9B03C#B9B03C

#B9B03C 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#B9B03C
RGBrgb(185, 176, 60)
HSLhsl(56, 51%, 48%)
HSVhsv(56, 68%, 73%)
CMYKcmyk(0%, 4.9%, 67.6%, 27.5%)
CIE-LABlab(70.66, -10.60, 57.97)
CIE-LCHlch(70.66, 58.93, 100.36°)
OKLaboklab(74.34% -0.0345 0.1301)
OKLCHoklch(74.34% 0.135 104.9)
XYZxyz(36.3499, 41.6925, 10.4068)
Luminance0.4169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B03C #3C45B9
analogous
#B9713C #B9B03C #83B93C
triadic
#B9B03C #3CB9B0 #B03CB9
tetradic
#B9B03C #3CB971 #3C45B9 #B93C83
square
#B9B03C #3CB971 #3C45B9 #B93C83
split-complementary
#B9B03C #3C83B9 #713CB9
monochromatic
#5D581E #8B842D #B9B03C #CDC665 #DCD793

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9B03C#FFFFFF#000000##000000
##B9B03C1.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)
#BFAA2C
Deuteranopia (green-blind)
#C2AF43
Tritanopia (blue-blind)
#C6A498
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b9b03c;
/* rgb */ color: rgb(185, 176, 60);
/* oklch */ color: oklch(74.3% 0.135 104.9);
Tailwind
colors: {
  custom: {
    50: '#d1c778',
    500: '#b9b03c',
    950: '#000000',
  },
}
SCSS
$custom: #b9b03c;
$custom-light: #d1c778;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b03c",
  "rgb": {
    "r": 185,
    "g": 176,
    "b": 60
  },
  "hsl": {
    "h": 55.68,
    "s": 51.02,
    "l": 48.039
  },
  "oklch": {
    "l": 0.74342,
    "c": 0.13459,
    "h": 104.9
  },
  "luminance": 0.41691
}

Semantic roles & 50–950 ramp

primary
#B9B03C
secondary
#898EC7
accent
#57DA4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B9B03C

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

Preview Lab → · Contrast checker → · Palette generator →

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