#B9B04F#B9B04F

#B9B04F is a light, moderate yellow. Relative luminance 0.419; OKLCH L 74.5% C 0.119 H 104.0°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#B9B04F
RGBrgb(185, 176, 79)
HSLhsl(55, 43%, 52%)
HSVhsv(55, 57%, 73%)
CMYKcmyk(0%, 4.9%, 57.3%, 27.5%)
CIE-LABlab(70.82, -9.33, 49.86)
CIE-LCHlch(70.82, 50.73, 100.60°)
OKLaboklab(74.52% -0.0288 0.1156)
OKLCHoklch(74.52% 0.119 104)
XYZxyz(36.9454, 41.9307, 13.5429)
Luminance0.4193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B04F #4F58B9
analogous
#B97B4F #B9B04F #8DB94F
triadic
#B9B04F #4FB9B0 #B04FB9
tetradic
#B9B04F #4FB97B #4F58B9 #B94F8D
square
#B9B04F #4FB97B #4F58B9 #B94F8D
split-complementary
#B9B04F #4F8DB9 #7B4FB9
monochromatic
#656028 #918A3A #B9B04F #CAC47B #DCD7A7

Accessibility & contrast

On white

2.24
#B9B04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#B9B04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B04F
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B04F#FFFFFF#000000##000000
##B9B04F1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB45
Deuteranopia (green-blind)
#C1B054
Tritanopia (blue-blind)
#C6A59B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b9b04f;
/* rgb */ color: rgb(185, 176, 79);
/* oklch */ color: oklch(74.5% 0.119 104.0);
Tailwind
colors: {
  custom: {
    50: '#d0c784',
    500: '#b9b04f',
    950: '#000000',
  },
}
SCSS
$custom: #b9b04f;
$custom-light: #d0c784;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b04f",
  "rgb": {
    "r": 185,
    "g": 176,
    "b": 79
  },
  "hsl": {
    "h": 54.906,
    "s": 43.089,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74525,
    "c": 0.11915,
    "h": 104
  },
  "luminance": 0.41929
}

Semantic roles & 50–950 ramp

primary
#B9B04F
secondary
#9B9FC9
accent
#60D355
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #B9B04F

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

Preview Lab → · Contrast checker → · Palette generator →

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