#BB9E2F#BB9E2F

#BB9E2F is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.6% C 0.129 H 93.8°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#BB9E2F
RGBrgb(187, 158, 47)
HSLhsl(48, 60%, 46%)
HSVhsv(48, 75%, 73%)
CMYKcmyk(0%, 15.5%, 74.9%, 26.7%)
CIE-LABlab(65.92, -0.87, 58.41)
CIE-LCHlch(65.92, 58.41, 90.85°)
OKLaboklab(70.6% -0.0084 0.1286)
OKLCHoklch(70.6% 0.129 93.8)
XYZxyz(33.2353, 35.2257, 7.7374)
Luminance0.3522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9E2F #2F4CBB
analogous
#BB582F #BB9E2F #92BB2F
triadic
#BB9E2F #2FBB9E #9E2FBB
tetradic
#BB9E2F #2FBB58 #2F4CBB #BB2F92
square
#BB9E2F #2FBB58 #2F4CBB #BB2F92
split-complementary
#BB9E2F #2F92BB #582FBB
monochromatic
#594B16 #8A7523 #BB9E2F #D4B953 #E0CD84

Accessibility & contrast

On white

2.61
#BB9E2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#BB9E2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9E2F
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9E2F#FFFFFF#000000##000000
##BB9E2F1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1C
Deuteranopia (green-blind)
#B6A436
Tritanopia (blue-blind)
#CA9188
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bb9e2f;
/* rgb */ color: rgb(187, 158, 47);
/* oklch */ color: oklch(70.6% 0.129 93.8);
Tailwind
colors: {
  custom: {
    50: '#d3ba6f',
    500: '#bb9e2f',
    950: '#000000',
  },
}
SCSS
$custom: #bb9e2f;
$custom-light: #d3ba6f;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9e2f",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 47.571,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70602,
    "c": 0.12884,
    "h": 93.8
  },
  "luminance": 0.35224
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB9E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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