#BB9F2F#BB9F2F

#BB9F2F is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.8% C 0.129 H 94.4°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#BB9F2F
RGBrgb(187, 159, 47)
HSLhsl(48, 60%, 46%)
HSVhsv(48, 75%, 73%)
CMYKcmyk(0%, 15%, 74.9%, 26.7%)
CIE-LABlab(66.19, -1.40, 58.66)
CIE-LCHlch(66.19, 58.68, 91.37°)
OKLaboklab(70.81% -0.01 0.1291)
OKLCHoklch(70.81% 0.129 94.4)
XYZxyz(33.4065, 35.5682, 7.7945)
Luminance0.3557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9F2F #2F4BBB
analogous
#BB592F #BB9F2F #91BB2F
triadic
#BB9F2F #2FBB9F #9F2FBB
tetradic
#BB9F2F #2FBB59 #2F4BBB #BB2F91
square
#BB9F2F #2FBB59 #2F4BBB #BB2F91
split-complementary
#BB9F2F #2F91BB #592FBB
monochromatic
#594C16 #8A7523 #BB9F2F #D4BA53 #E0CE84

Accessibility & contrast

On white

2.59
#BB9F2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#BB9F2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9F2F
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9F2F#FFFFFF#000000##000000
##BB9F2F1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1C
Deuteranopia (green-blind)
#B7A436
Tritanopia (blue-blind)
#CA9289
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bb9f2f;
/* rgb */ color: rgb(187, 159, 47);
/* oklch */ color: oklch(70.8% 0.129 94.4);
Tailwind
colors: {
  custom: {
    50: '#d3bb70',
    500: '#bb9f2f',
    950: '#000000',
  },
}
SCSS
$custom: #bb9f2f;
$custom-light: #d3bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9f2f",
  "rgb": {
    "r": 187,
    "g": 159,
    "b": 47
  },
  "hsl": {
    "h": 48,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70811,
    "c": 0.12948,
    "h": 94.4
  },
  "luminance": 0.35566
}

Semantic roles & 50–950 ramp

primary
#BB9F2F
secondary
#7C8CC9
accent
#64E345
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BB9F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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